Viewroll doesn't respect QuadView's 'Lock Rotation' #97021

Open
opened 2022-04-04 10:05:45 +02:00 by Pasang Bomjan · 22 comments

System Information
Operating system: Windows-10-10.0.19042-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 2060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.15

Blender Version
Broken: version: 3.2.0 Alpha, branch: master, commit date: 2022-04-02 21:46, hash: 79ff65d07b

Short description of error
A bit of an inconsistency.

Exact steps for others to reproduce the error

  • In the viewport, press Ctrl + Alt + Q to enter Quad view.
  • In one of the axis aligned views, F3 Search -> View Roll.
  • The view rolls even though "Lock Rotation" is enabled in the side panel.
**System Information** Operating system: Windows-10-10.0.19042-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 2060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.15 **Blender Version** Broken: version: 3.2.0 Alpha, branch: master, commit date: 2022-04-02 21:46, hash: `79ff65d07b` **Short description of error** A bit of an inconsistency. **Exact steps for others to reproduce the error** - In the viewport, press Ctrl + Alt + Q to enter Quad view. - In one of the axis aligned views, F3 Search -> View Roll. - The view rolls even though "Lock Rotation" is enabled in the side panel.
Author

Added subscriber: @Pasang

Added subscriber: @Pasang
Member

Added subscriber: @OmarEmaraDev

Added subscriber: @OmarEmaraDev
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Member

Since other view operations seems to respect the option, this looks like a bug.

Since other view operations seems to respect the option, this looks like a bug.
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Philipp Oeser self-assigned this 2022-04-04 10:27:37 +02:00
Member

Can check.

Can check.
Philipp Oeser removed their assignment 2022-04-04 16:33:44 +02:00
Member

Hint 1: The VIEW3D_OT_view_roll operator needs an appropriate poll function which respects the RV3D_LOCK_ROTATION flag.
Hint 2: Which view operation already respects this setting? -> rotation. Which operator is this? -> VIEW3D_OT_rotate. That operators poll function can be reused (it is already for other operators as well...

Hint 1: The `VIEW3D_OT_view_roll` operator needs an appropriate poll function which respects the `RV3D_LOCK_ROTATION` flag. Hint 2: Which view operation already respects this setting? -> rotation. Which operator is this? -> `VIEW3D_OT_rotate`. That operators poll function can be reused (it is already for other operators as well...

Added subscriber: @Ty-Clements

Added subscriber: @Ty-Clements

Just checking, this still needs to be fixed?

Just checking, this still needs to be fixed?
Member

Yes (was just doing a bit of handholding for new contributors)

Yes (was just doing a bit of handholding for new contributors)

Added subscriber: @Rin-San

Added subscriber: @Rin-San

Hi, I sort of understand what this issue mean.
But when I follow the step and run view3d.view_roll, an error thrown indicating incorrect context, what should I do before I run this function?
Thank.

Hi, I sort of understand what this issue mean. But when I follow the step and run view3d.view_roll, an error thrown indicating incorrect context, what should I do before I run this function? Thank.

Added subscriber: @ideasman42

Added subscriber: @ideasman42

Changed status from 'Confirmed' to: 'Needs User Info'

Changed status from 'Confirmed' to: 'Needs User Info'

This report should list steps to redo the error from a user perspective.

This report should list steps to redo the error from a user perspective.
Member

@ideasman42 Only the two steps in the report are needed to replicate the issue.

  • In the viewport, press Ctrl + Alt + Q to enter Quad view.
  • In one of the axis aligned views, F3 Search -> View Roll.
  • The view rolls even though "Lock Rotation" is enabled.
@ideasman42 Only the two steps in the report are needed to replicate the issue. - In the viewport, press Ctrl + Alt + Q to enter Quad view. - In one of the axis aligned views, F3 Search -> View Roll. - The view rolls even though "Lock Rotation" is enabled.
Member

Changed status from 'Needs User Info' to: 'Confirmed'

Changed status from 'Needs User Info' to: 'Confirmed'
San Rin self-assigned this 2022-04-05 12:01:28 +02:00

In #97021#1335731, @OmarEmaraDev wrote:
@ideasman42 Only the two steps in the report are needed to replicate the issue.

  • In the viewport, press Ctrl + Alt + Q to enter Quad view.
  • In one of the axis aligned views, F3 Search -> View Roll.
  • The view rolls even though "Lock Rotation" is enabled.

Thank you for explaining again, I just run it on python console...
I think I could give it a try.

> In #97021#1335731, @OmarEmaraDev wrote: > @ideasman42 Only the two steps in the report are needed to replicate the issue. > > - In the viewport, press Ctrl + Alt + Q to enter Quad view. > - In one of the axis aligned views, F3 Search -> View Roll. > - The view rolls even though "Lock Rotation" is enabled. Thank you for explaining again, I just run it on python console... I think I could give it a try.

Added subscriber: @Melanie-T-Haymart

Added subscriber: @Melanie-T-Haymart

Hi, I'm a newcomer here and I was trying to replicate this issue but I wasn't sure that I was able to do it. When I F3 search "view roll" and click on it, the view only rolls in the top right quadrant, no matter where I click f3, and as far as I can tell this is the intended behavior. It's totally possible though that I could be missing something stupid.

Hi, I'm a newcomer here and I was trying to replicate this issue but I wasn't sure that I was able to do it. When I F3 search "view roll" and click on it, the view only rolls in the top right quadrant, no matter where I click f3, and as far as I can tell this is the intended behavior. It's totally possible though that I could be missing something stupid.

Hi, I upload a diff that seem to work fine on my machine: https://developer.blender.org/D14563

Hi, I upload a diff that seem to work fine on my machine: https://developer.blender.org/D14563

@Melanie Haymart (MelstromH)
Hi, just my opinion: When enabled "Lock Rotation" in the side panel, there should not be any view roll on the axis aligned views. You can use your mouse to roll any axis aligned views here, then nothing should happen unless you turn "Lock Rotation" off. But When run view roll, it still roll the views.

@Melanie Haymart (MelstromH) Hi, just my opinion: When enabled "Lock Rotation" in the side panel, there should not be any view roll on the axis aligned views. You can use your mouse to roll any axis aligned views here, then nothing should happen unless you turn "Lock Rotation" off. But When run view roll, it still roll the views.
Philipp Oeser removed the
Interest
User Interface
label 2023-02-10 09:22:08 +01:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
7 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#97021
No description provided.