WIP: UI: Change Behavior for Multi-Select Enums #104451
No reviewers
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
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
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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
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
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#104451
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "mano-wii/blender:no_ctrl_snap_elements"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Many enums in Blender are able to have multiple items selected, but this feature isn't exposed very well.
It's not clear which enums support this, so you have to try by pressing shift when clicking on them.
And a lot of the time it's more valuable to have multiple items selected, but it's harder because of the modifier key.
A more straightforward solution is to use the multi-select behavior by default, only turning off all other items off when a modifier key is pressed.
This patch proposes this changed behavior with ctrl as the modifier key.
For some background, I tried this years ago: https://archive.blender.org/developer/D7883
I'm not really convinced it makes sense to just change the behavior of the snap enum without changing behavior elsewhere too. That's just adding inconsistencies. Maybe it makes sense to change it everywhere. I think that's fine, but there was no conclusion about that before.
The other option is just presenting the settings as regular checkboxes.
UI: allow adding snap elements without holding Ctrlto UI: allow adding snap elements without holding ShiftGood to see interest in this.
This is a change I discussed a while ago (prior to 2.80, I don't remember if I submitted the patch).
I agree that it would be good to have consistency, but currently this consistency does not exist. See the image below:
Note that lookalike interfaces behave as they please.
A while ago there were only the options
Snap To
andSnap With
(with other names).The
Snap To
options did not allow multiple selection. It was just like theSnap With
options. Only one at time. It had consistency.But then "mixed snap" was implemented, which turned these enums into flags allowing for multiple selection with
Shift
.In the meantime came the options of
Affect
and recentlyTarget Selection
.Although internally it's an enum of flags, the user doesn't notice the difference, and the inconsistency looks worse inside the popover.
+1
We should definitely make this consistent everywhere. It will make the functionality more discoverable, there are users that don't even know it's possible to select multiple snap elements.
To make this properly, I'd propose to:
Shift
.Ctrl
to deselect all options except the one clicked on.This would be a dedicated design task, but dropping a quick mockup:
2e4cf81a16
to9d61c29aa6
I applied @HooglyBoogly 's patch so the 3 points mentioned são implemented:
I also checked some enums flags that might appear in the UI. (others are internal)
"snap_elements" from
ToolSettings
and transform operators"status" from
ClothSolverResult
"delimit" from
DecimateModifier
"debug_options" from
BooleanModifier
"proximity_geometry" from
VertexWeightProximityModifier
"flip_axis" from
MeshCacheModifier
"read_data" from
MeshSequenceCacheModifier
"data_types_verts" from
DataTransferModifier
"data_types_edges" from
DataTransferModifier
"data_types_loops" from
DataTransferModifier
"data_types_polys" from
DataTransferModifier
"mode" from
NodeGeometryCurveSetHandles
"mode" from
NodeGeometryCurveSelectHandles
"tags" from
Property
"default_flag" from
EnumProperty
"pass_filter" from
BakeSettings
andOBJECT_OT_bake
Once accepted (again), release notes will be updated.
UI: allow adding snap elements without holding Shiftto UI: Change Behavior for Multi-Select EnumsUI: Change Behavior for Multi-Select Enumsto WIP: UI: Change Behavior for Multi-Select EnumsCheckout
From your project repository, check out a new branch and test the changes.