3D View Editor Header > Select > Similar > Normal - Operator Panel Update Bug? #40934

Closed
opened 2014-07-03 10:49:16 +02:00 by Terry Wallwork · 4 comments

System Information
Operating system and graphics card

Blender Version
Broken: (example: 2.69.7 4b206af, see splash screen)
Worked: (optional)

Short description of error

Exact steps for others to reproduce the error
Based on a (as simple as possible) attached .blend file with minimum amount of steps

I am using Blender GIT REV 2014-07-02-09-31-14-b6e0dc2 on a Fedora 20 Linux 64 Bit Box with an intel 3000HD GFX
card.

I noticed that when using the [3D View Editor Header > Select > Similar > Normal] tool that if while using
the tool I switched the Selection Mode sometimes the Select Similar Operator Panel Type Control when
Select Normals is being used would go blank and I would have to hover the mouse over the control to get it to
display properly, the reverse also sometimes happens the Type Normal would be displayed I would hover over
and then it would dissapear.

In the attached Blend file I have a torus with some vertice selected if
I use [3D View Editor Header > Select > Similar > Normal] tool while in Vertex Selection Mode and switch
selection mode to Face or Edge, the Normal entry will not update.

Attached my system-info.txt and Blend demo File and video showing problem.

system-info.txt
3DViewEditor-Select-Similar-OperatorPanelUpdateBug_.blend
SelectSimilarOperatorPanelUpdateBug.webm

**System Information** Operating system and graphics card **Blender Version** Broken: (example: 2.69.7 4b206af, see splash screen) Worked: (optional) **Short description of error** **Exact steps for others to reproduce the error** Based on a (as simple as possible) attached .blend file with minimum amount of steps I am using Blender GIT REV 2014-07-02-09-31-14-b6e0dc2 on a Fedora 20 Linux 64 Bit Box with an intel 3000HD GFX card. I noticed that when using the [3D View Editor Header > Select > Similar > Normal] tool that if while using the tool I switched the Selection Mode sometimes the Select Similar Operator Panel Type Control when Select Normals is being used would go blank and I would have to hover the mouse over the control to get it to display properly, the reverse also sometimes happens the Type Normal would be displayed I would hover over and then it would dissapear. In the attached Blend file I have a torus with some vertice selected if I use [3D View Editor Header > Select > Similar > Normal] tool while in Vertex Selection Mode and switch selection mode to Face or Edge, the Normal entry will not update. Attached my system-info.txt and Blend demo File and video showing problem. [system-info.txt](https://archive.blender.org/developer/F96536/system-info.txt) [3DViewEditor-Select-Similar-OperatorPanelUpdateBug_.blend](https://archive.blender.org/developer/F96537/3DViewEditor-Select-Similar-OperatorPanelUpdateBug_.blend) [SelectSimilarOperatorPanelUpdateBug.webm](https://archive.blender.org/developer/F96538/SelectSimilarOperatorPanelUpdateBug.webm)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @TerryWallwork-1

Added subscriber: @TerryWallwork-1
Member

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Lukas Tönne self-assigned this 2014-07-03 17:38:09 +02:00
Member

Two things here:

  • The available 'Action' options depend on the selected element type (which is not part of the operator settings, but the general tool settings). The items for each element type are generally incompatible: when you select a different element type the previous Action becomes meaningless. This might be solved by resetting the action to a default when the previous selection becomes invalid, but i doubt this is feasible for the redo panel, because the operator is not actually executed. Leaving the Action undefined is not per-se broken, at least it indicates the incompatibility to the user.
  • When the element selection is changed, the redo panel is not immediately redrawn. This would require intricate knowledge about the fact that the operator items depend on the context and is just not possible with the current notifier system. Having a context-dependent enum property like that in an operator may be convenient for coding, but solving such details in the UI is quite tricky. Effectively these are 3 different operators squeezed into 1, which is always difficult.

The issue does not seem severe enough to require fixing, after all no damage is done and after the first attempt of redoing (which cancels due to invalid Action), the panel is redrawn and the issue becomes visible.

Two things here: - The available 'Action' options depend on the selected element type (which is not part of the operator settings, but the general tool settings). The items for each element type are generally incompatible: when you select a different element type the previous Action becomes meaningless. This might be solved by resetting the action to a default when the previous selection becomes invalid, but i doubt this is feasible for the redo panel, because the operator is not actually executed. Leaving the Action undefined is not per-se broken, at least it indicates the incompatibility to the user. - When the element selection is changed, the redo panel is not immediately redrawn. This would require intricate knowledge about the fact that the operator items depend on the context and is just not possible with the current notifier system. Having a context-dependent enum property like that in an operator may be convenient for coding, but solving such details in the UI is quite tricky. Effectively these are 3 different operators squeezed into 1, which is always difficult. The issue does not seem severe enough to require fixing, after all no damage is done and after the first attempt of redoing (which cancels due to invalid Action), the panel is redrawn and the issue becomes visible.
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
2 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#40934
No description provided.