Blender hotkey priority is defined by order but hotkey editor does not allow for order editing #53710

Closed
opened 2018-01-07 18:08:48 +01:00 by Ludvik Koutny · 8 comments
Contributor

System Information
Windows 10 FCU
GTX1080Ti

Blender Version
2.79

Hi,

I've discovered this shocking design flaw after spending a few hours scratching my head as to why some of the assigned hotkeys does not work. In my case, transform gizmo planar constraint triggered by holding down Shift key has stopped working. It appears that the Blender decides execution priority of a shortcut based on its order in the list, so if you for example remove view3d.manipulator entries in 3D View (Global) category, and then add these very same entries with very same settings at the bottom, then Planar Constraint mode of manipulator gizmo will stop working, because some other action above will have higher priority.

Aside from being nearly impossible for the end user to figure out why this is not working, as there is no implication of this mechanism, what's even more scary is that hotkey editor in Blender does not allow for re-ordering of assigned hotkeys, so if you add a new hotkey entry, it's always added at the bottom, and only way to fix this is to open exported .py key configuration file in a text editor, and manually edit the order there.

**System Information** Windows 10 FCU GTX1080Ti **Blender Version** 2.79 Hi, I've discovered this shocking design flaw after spending a few hours scratching my head as to why some of the assigned hotkeys does not work. In my case, transform gizmo planar constraint triggered by holding down Shift key has stopped working. It appears that the Blender decides execution priority of a shortcut based on its order in the list, so if you for example remove view3d.manipulator entries in 3D View (Global) category, and then add these very same entries with very same settings at the bottom, then Planar Constraint mode of manipulator gizmo will stop working, because some other action above will have higher priority. Aside from being nearly impossible for the end user to figure out why this is not working, as there is no implication of this mechanism, what's even more scary is that hotkey editor in Blender does not allow for re-ordering of assigned hotkeys, so if you add a new hotkey entry, it's always added at the bottom, and only way to fix this is to open exported .py key configuration file in a text editor, and manually edit the order there.
Author
Contributor

Added subscriber: @Rawalanche

Added subscriber: @Rawalanche
Member

Added subscribers: @ideasman42, @lichtwerk

Added subscribers: @ideasman42, @lichtwerk
Campbell Barton was assigned by Philipp Oeser 2018-01-09 20:17:31 +01:00
Member

Confirmed, this indeed feels a bit weak.
I havent checked the code yet, so it could be a known limitation... @ideasman42 : is this more of a TODO? (adding a reordering feature would be I guess - not sure if this is an easy task)

Confirmed, this indeed feels a bit weak. I havent checked the code yet, so it could be a known limitation... @ideasman42 : is this more of a TODO? (adding a reordering feature would be I guess - not sure if this is an easy task)
Author
Contributor

Since 2.8 workflow release is supposed to include also reworked key map, I'd suggest some adjustments to to hotkey editor. In relation to this issue, first thing in order would probably be to add something into the user interface that implies hotkey order from top to bottom is relevant to hotkey functionality, because right now, probably almost no one knows about this. Once users are aware that the descending order of hotkeys is relevant to their functionality, they should have some basic UI elements to customize the order.

But in my opinion, the safest and most intuitive way to handle this would be to remove order dependency completely, and instead do not allow mapping of the same hotkey multiple times in the same mode/panel. While this could be a little limiting, it would remove a lot of room for error current hotkey editor suffers from.

Since 2.8 workflow release is supposed to include also reworked key map, I'd suggest some adjustments to to hotkey editor. In relation to this issue, first thing in order would probably be to add something into the user interface that implies hotkey order from top to bottom is relevant to hotkey functionality, because right now, probably almost no one knows about this. Once users are aware that the descending order of hotkeys is relevant to their functionality, they should have some basic UI elements to customize the order. But in my opinion, the safest and most intuitive way to handle this would be to remove order dependency completely, and instead do not allow mapping of the same hotkey multiple times in the same mode/panel. While this could be a little limiting, it would remove a lot of room for error current hotkey editor suffers from.

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'

This is a TODO which can be handled with general improvements to the keymap editor.

Added to wiki: https://wiki.blender.org/index.php/Dev:Source/Development/Todo/UserInterface#Keymap_Editing

This is a TODO which can be handled with general improvements to the keymap editor. Added to wiki: https://wiki.blender.org/index.php/Dev:Source/Development/Todo/UserInterface#Keymap_Editing

Added subscriber: @IihT2cWA9xiP30BsYphz3EiEISNoScoe

Added subscriber: @IihT2cWA9xiP30BsYphz3EiEISNoScoe

This issue still remains, makes for hotkey editing a lot more annoying

This issue still remains, makes for hotkey editing a lot more annoying
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
4 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#53710
No description provided.