Keymap - Different shortcuts & keymaps are mistakenly merged #95579

Open
opened 2022-02-07 13:57:04 +01:00 by Hologram · 2 comments

System Information
Operating system: Windows 10
Graphics card: Nvidia GTX 1070

Blender Version
Broken: Blender 3.0

Short description of error
When swapping the Select Edgering and Pick Shortest path operators around in my custom keymap, the two functions were mistakenly merged by Blender, despite being two different operators and despite having different inputs associated.
Keymap items disappear.mp4

As you can see at the end, there no longer was any keymap with Pick Shortest path within the Mesh category.
To further help trouble shooting, these were all the keymap items that had Shift+LMB associated within the Mesh category.
afbeelding.png

Steps to reproduce

  1. Go to Edit > Preferences > keymap editor
  2. Load my keymap: SW_WindowV2_done_a.py > For some reason it doesn't occur in Blender when factory reset, the only difference with my version is that I added a shortcut to Edit > Preferences > Ctrl + K, changed some navigation settings and loaded my custom theme before saving preferences, so it is very very close to being factory reset.
  3. Go to > 3D view > Mesh > Mesh (Global)
  4. Locate the Edge Ring select and Pick Shortest path entries
  5. Copy the operator names to the clipboard
  6. Replace the "mesh.shortest_path_pick" operators with "mesh.edgering_select"
  7. Replace the "mesh.edgering_select" operators with "mesh.shortest_path_pick"
  8. Set the options like the image below:
    afbeelding.png
  9. Notice that when the buttons are configured to be the same (shift + LMB), click and double click are merged across two different operators.

See: Keymap items disappear - Steps to reproduce.mp4

E: This bug also occurs when I remove the old "mesh.shortest_path_pick" operators and edit the top two items under 3D view > Mesh > Mesh (Global) to become "mesh.shortest_path_pick" with Shift + LMB click and Ctrl+Shift + LMB Click.

Also, it does not occur if I remove the old operators and add new items to the keymap with these operators.
2022-01-17 15-28-30.mp4

**System Information** Operating system: Windows 10 Graphics card: Nvidia GTX 1070 **Blender Version** Broken: Blender 3.0 **Short description of error** When swapping the Select Edgering and Pick Shortest path operators around in my custom keymap, the two functions were mistakenly merged by Blender, despite being two different operators and despite having different inputs associated. [Keymap items disappear.mp4](https://archive.blender.org/developer/F12808546/Keymap_items_disappear.mp4) As you can see at the end, there no longer was any keymap with Pick Shortest path within the Mesh category. To further help trouble shooting, these were all the keymap items that had Shift+LMB associated within the Mesh category. ![afbeelding.png](https://archive.blender.org/developer/F12808543/afbeelding.png) **Steps to reproduce** 1. Go to Edit > Preferences > keymap editor 2. Load my keymap: [SW_WindowV2_done_a.py](https://archive.blender.org/developer/F12808627/SW_WindowV2_done_a.py) > For some reason it doesn't occur in Blender when factory reset, the only difference with my version is that I added a shortcut to Edit > Preferences > Ctrl + K, changed some navigation settings and loaded my custom theme before saving preferences, so it is very very close to being factory reset. 2. Go to > 3D view > Mesh > Mesh (Global) 3. Locate the Edge Ring select and Pick Shortest path entries 4. Copy the operator names to the clipboard 5. Replace the "mesh.shortest_path_pick" operators with "mesh.edgering_select" 6. Replace the "mesh.edgering_select" operators with "mesh.shortest_path_pick" 7. Set the options like the image below: ![afbeelding.png](https://archive.blender.org/developer/F12808593/afbeelding.png) 8. Notice that when the buttons are configured to be the same (shift + LMB), click and double click are merged across two different operators. See: [Keymap items disappear - Steps to reproduce.mp4](https://archive.blender.org/developer/F12808563/Keymap_items_disappear_-_Steps_to_reproduce.mp4) E: This bug also occurs when I remove the old "mesh.shortest_path_pick" operators and edit the top two items under 3D view > Mesh > Mesh (Global) to become "mesh.shortest_path_pick" with Shift + LMB click and Ctrl+Shift + LMB Click. Also, it does not occur if I remove the old operators and add new items to the keymap with these operators. [2022-01-17 15-28-30.mp4](https://archive.blender.org/developer/F12808594/2022-01-17_15-28-30.mp4)
Author

Added subscriber: @Hologram

Added subscriber: @Hologram

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

Changed status from 'Needs Triage' to: 'Confirmed'
Philipp Oeser removed the
Interest
User Interface
label 2023-02-10 09:22:15 +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
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#95579
No description provided.