Any changes to the keymap (add, remove, enable or disable key-map items) are applied to all keymaps globally, instead of individual keymaps #86228

Open
opened 2021-03-03 06:16:11 +01:00 by Justin · 11 comments

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

Blender Version
Broken: version: 2.92.0, branch: master, commit date: 2021-02-24 16:25, hash: 02948a2cab
Worked: Unknown - I tested as far back as 2.79b

Short description of error
After creating a new, custom keymap in Blender, any shortcut changes are applied globally for all keymaps instead of only locally to the new, custom keymap. Therefore, switching between keymaps does not make a difference, since any shortcut changes made to one keymap are applied to the rest of the keymaps globally.

Exact steps for others to reproduce the error

  • Launch Blender.
  • Go to Edit > Preferences > Keymap.
  • Create a new Key-config Preset (the "+" next to the keymap dropdown. Default says "Blender")
  • Make any keymap item change as:
    • Add keymap item or
    • Disable a common keymap item (as "Batch Rename" that is seem in both "Blender" and "Industry Compatible") or
    • Restore any common keymap item that was changed (as the "Batch Rename" mentioned before)
  • Switch back to the default "Blender" keymap

Result: The shortcut change is also applied (copied) to the default keymap and all other keymaps in the drop down.
Conclusion: Creating different keymaps has no purpose since the shortcut changes are copied to all keymaps globally.

Workaround:

  1. Launch Blender
  2. Go to Edit > Preferences > Click "Preferences" in the menu bar and uncheck "Auto-Save Preferences"
  3. Click "Keymap" from the list on the left
  4. Make all shortcut changes before creating a keymap
  5. Add a new keymap and give it a name
  6. Click "Preferences" in the menu bar and click "Revert to Saved Preferences"
  7. Keymaps should now be different and show their own individual shortcuts when switching back and forth
  • Any further changes to the new keymap will be applied globally. To update your new keymap with further changes:
  1. Update the shortcuts
  2. Delete the custom keymap (or add a new keymap with the same name and skip the next step)
  3. Add a new keymap and give it a name
  4. Click restore above the shortcut updates
**System Information** Operating system: Windows-10-10.0.18362-SP0 64 Bits Graphics card: GeForce RTX 2060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 457.34 **Blender Version** Broken: version: 2.92.0, branch: master, commit date: 2021-02-24 16:25, hash: `02948a2cab` Worked: Unknown - I tested as far back as 2.79b **Short description of error** After creating a new, custom keymap in Blender, any shortcut changes are applied globally for all keymaps instead of only locally to the new, custom keymap. Therefore, switching between keymaps does not make a difference, since any shortcut changes made to one keymap are applied to the rest of the keymaps globally. **Exact steps for others to reproduce the error** - Launch Blender. - Go to Edit > Preferences > Keymap. - Create a new Key-config Preset (the "+" next to the keymap dropdown. Default says "Blender") - Make any keymap item change as: - Add keymap item or - Disable a common keymap item (as "Batch Rename" that is seem in both "Blender" and "Industry Compatible") or - Restore any common keymap item that was changed (as the "Batch Rename" mentioned before) - Switch back to the default "Blender" keymap **Result:** The shortcut change is also applied (copied) to the default keymap and all other keymaps in the drop down. **Conclusion:** Creating different keymaps has no purpose since the shortcut changes are copied to all keymaps globally. **Workaround:** 1) Launch Blender 2) Go to Edit > Preferences > Click "Preferences" in the menu bar and uncheck "Auto-Save Preferences" 3) Click "Keymap" from the list on the left 4) Make all shortcut changes **before** creating a keymap 5) Add a new keymap and give it a name 6) Click "Preferences" in the menu bar and click "Revert to Saved Preferences" 7) Keymaps should now be different and show their own individual shortcuts when switching back and forth - Any further changes to the new keymap will be applied globally. To update your new keymap with further changes: 8) Update the shortcuts 9) Delete the custom keymap (or add a new keymap with the same name and skip the next step) 10) Add a new keymap and give it a name 11) Click restore above the shortcut updates
Author

Added subscriber: @BlenderFrenzy

Added subscriber: @BlenderFrenzy

#101500 was marked as duplicate of this issue

#101500 was marked as duplicate of this issue

#94606 was marked as duplicate of this issue

#94606 was marked as duplicate of this issue
Member

Added subscribers: @ideasman42, @lichtwerk

Added subscribers: @ideasman42, @lichtwerk
Member

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

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

Hm, confirm actually (sorry this took so long to answer).
Note this is not saved to the Preferences, but still it is somewhat unexpected the change is propagated to all keymaps from the user standpoint.

@ideasman42 : could you check / share your wisdom?

Hm, confirm actually (sorry this took so long to answer). Note this is not saved to the Preferences, but still it is somewhat unexpected the change is propagated to all keymaps from the user standpoint. @ideasman42 : could you check / share your wisdom?

Added subscriber: @Martin-E

Added subscriber: @Martin-E
Member

Added subscribers: @Hologram, @PratikPB2123

Added subscribers: @Hologram, @PratikPB2123
Pratik Borhade changed title from Shortcut changes are applied (copied) to all keymaps globally instead of only an individual keymap locally, resulting in custom keymaps having no purpose. to Shortcut changes are applied to all keymaps globally instead of individual keymap 2022-01-04 10:45:15 +01:00

The current workaround seems to be to disable autosave preferences, save preferences, customise the keymap, export the custom keymap, revert back to saved settings and import the keymap. That way, you can have a custom keymap without affecting the others.
See: https://youtu.be/2RtlvZfv8TI?t=802

Also note that, as a user, I expect the default blender keymap to be updated with each subsequent release. That way, I would be able to compare my custom keymap to the default one to see whether there are any new operators that were added, which are missing in custom keymaps that were imported from a previous version. When the default keymap is mistakenly changed due to this bug, it becomes much less reliable.

The current workaround seems to be to disable autosave preferences, save preferences, customise the keymap, export the custom keymap, revert back to saved settings and import the keymap. That way, you can have a custom keymap without affecting the others. See: https://youtu.be/2RtlvZfv8TI?t=802 Also note that, as a user, I expect the default blender keymap to be updated with each subsequent release. That way, I would be able to compare my custom keymap to the default one to see whether there are any new operators that were added, which are missing in custom keymaps that were imported from a previous version. When the default keymap is mistakenly changed due to this bug, it becomes much less reliable.

Added subscriber: @Nurb2Kea

Added subscriber: @Nurb2Kea

Added subscribers: @blender3dmaster, @iss

Added subscribers: @blender3dmaster, @iss
Philipp Oeser removed the
Interest
User Interface
label 2023-02-10 09:23:34 +01:00
Germano Cavalcante changed title from Shortcut changes are applied to all keymaps globally instead of individual keymap to Any changes to the keymap (add, remove or restore key-map items) are applied to all keymaps globally, instead of individual keymaps 2024-02-29 23:46:00 +01:00
Germano Cavalcante changed title from Any changes to the keymap (add, remove or restore key-map items) are applied to all keymaps globally, instead of individual keymaps to Any changes to the keymap (add, remove, enable or disable key-map items) are applied to all keymaps globally, instead of individual keymaps 2024-02-29 23:58:51 +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
8 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#86228
No description provided.