Keymap imports unreliable #119408

Closed
opened 2024-03-13 02:11:41 +01:00 by Thespikedballofdoom · 8 comments

System Information
Operating system: Windows 10
Graphics card: Nvidia RTX 3070 Ti

Blender Version
Broken: 4.0.2, 4.1.0 alpha, 3.6.0 to some extent

Exact steps for others to reproduce the error

The following keymap was created on 4.0.2 but only 3.6.0 seems to be able to import the W and D keyframe change keys in the 'Frame' section. I attempted to import it on 4.1.0a and it also dropped those keys.

In addition, editing a keymap after importing it then removing it with the minus - button next to the presets, and reimporting it keeps the changes you made previously when it should be overwritten by the freshly imported map.

**System Information** Operating system: Windows 10 Graphics card: Nvidia RTX 3070 Ti **Blender Version** Broken: 4.0.2, 4.1.0 alpha, 3.6.0 to some extent **Exact steps for others to reproduce the error** The following keymap was created on 4.0.2 but only 3.6.0 seems to be able to import the W and D keyframe change keys in the 'Frame' section. I attempted to import it on 4.1.0a and it also dropped those keys. In addition, editing a keymap after importing it then removing it with the minus - button next to the presets, and reimporting it keeps the changes you made previously when it should be overwritten by the freshly imported map.
Thespikedballofdoom added the
Priority
Normal
Type
Report
Status
Needs Triage
labels 2024-03-13 02:11:42 +01:00

It seems hitting "restore" on every item in the keymap fixed the dropping, restoring what I thought was dropped... I really don't understand the keymap editor. It's so hard to trust it, I feel like I can't just save and load stuff easily

It seems hitting "restore" on every item in the keymap fixed the dropping, restoring what I thought was dropped... I really don't understand the keymap editor. It's so hard to trust it, I feel like I can't just save and load stuff easily
Member

Hi, thanks for the report. Key-items with W and D keys are imported in 4.0.
When you import the keymap, did you find these key-items missing from the keymap list or they are just not working in animation editor?

Hi, thanks for the report. Key-items with `W` and `D` keys are imported in 4.0. When you import the keymap, did you find these key-items missing from the keymap list or they are just not working in animation editor?
Pratik Borhade added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2024-03-14 07:14:06 +01:00

I had found them missing, but it began to work after I hit the "restore" button on that section and re-imported it. The behavior can be re-caused by deleting those or any keys and looking for them after importing a new keymap, and re-fixed in the same way with the restore button.

I assume it's intended, so my understanding is that the keymap has an additional layer of modification I removed by hitting that which I'm not sure what is meant for. It's very unusual to me that importing a preset wouldn't set all the keys it has; I imagined "Restore" was for restoring the keys to blender default or the preset's default but not that importing wouldn't completely override what I did before.
It would be good to make it more obvious that this is how the keymap handles itself.

I had found them missing, but it began to work after I hit the "restore" button on that section and re-imported it. The behavior can be re-caused by deleting those or any keys and looking for them after importing a new keymap, and re-fixed in the same way with the restore button. I assume it's intended, so my understanding is that the keymap has an additional layer of modification I removed by hitting that which I'm not sure what is meant for. It's very unusual to me that importing a preset wouldn't set all the keys it has; I imagined "Restore" was for restoring the keys to blender default or the preset's default but not that importing wouldn't completely override what I did before. It would be good to make it more obvious that this is how the keymap handles itself.
Member

but it began to work after I hit the "restore" button on that section and re-imported it...The behavior can be re-caused by deleting those or any keys and looking for them after importing a new keymap, and re-fixed in the same way with the restore button.

Thanks. This is not very clear to me.
Can you share exact steps to reproduce the problem with default settings so we know where the problem is.

  • File > Defaults > Load Factory Settings (don't close blender after this)
  • Perform steps to trigger the issue (this info is missing)
  • Edit > Preferences > Keymap -> import keymap attached in the report (some keymap entries are gone)

Not sure but keymap entries could be removed if it conflicts with existing pair.

> but it began to work after I hit the "restore" button on that section and re-imported it...The behavior can be re-caused by deleting those or any keys and looking for them after importing a new keymap, and re-fixed in the same way with the restore button. Thanks. This is not very clear to me. Can you share exact steps to reproduce the problem with default settings so we know where the problem is. - `File > Defaults > Load Factory Settings` (don't close blender after this) - Perform steps to trigger the issue (this info is missing) - `Edit > Preferences > Keymap` -> import keymap attached in the report (some keymap entries are gone) Not sure but keymap entries could be removed if it conflicts with existing pair.

Sure, thank you.

  1. File > Defaults > Load factory settings
  2. Preferences > Keymap
  3. Make changes, I tried removing every key in the "window" section and adding 3 blank entries with K L and Y.
    image
  4. Export this as a keymap preset
  5. Hit "Restore" to restore the Window section back to normal keymaps
  6. Import it as a keymap preset and switch to it, there should be no restore buttons visible anywhere in the keymap
  7. Make changes in this keymap preset, I unchecked all of the Screen > Screen editing keys and added a blank R entry.
    image
  8. Switch back to the "Blender" default keymap preset
  9. Changes will have applied to it as well with the same "Restore" button.
    image

This was what makes me think it's intentional as away to allow user customizations to apply on top of imported keymaps, but it also means what you import isn't immediately what you get, and when I saw the restore button I had assumed it restored the section back to the factory 'Blender' preset defaults. That's what makes them feel unreliable, at least as backups which is what I export them for.

I was more expecting an import to override everything which is how most apps handle keybind presets, so I avoided hitting the restore buttons, and when I had accidentally unbinded W and D in the original post, I kept reimporting the same keymap not understanding why they wouldn't come back.
I manually re added them, exported, removed them and then reimported to make sure the export was working, and then those deletions persisted onto the reimport and I thought blender was broken in some way. Especially after those keys did work when importing in blender 3.6, but it was really just because the settings were default on that install.

Sure, thank you. 1. File > Defaults > Load factory settings 2. Preferences > Keymap 3. Make changes, I tried removing every key in the "window" section and adding 3 blank entries with K L and Y. ![image](/attachments/0834ff4d-abff-4a7a-b628-bbbf1dc9cfb7) 4. Export this as a keymap preset 5. Hit "Restore" to restore the Window section back to normal keymaps 6. Import it as a keymap preset and switch to it, there should be no restore buttons visible anywhere in the keymap 7. Make changes in this keymap preset, I unchecked all of the Screen > Screen editing keys and added a blank R entry. ![image](/attachments/a708879d-0394-480d-94e9-6a229821cba3) 8. Switch back to the "Blender" default keymap preset 9. Changes will have applied to it as well with the same "Restore" button. ![image](/attachments/f0e2a948-554e-4a5e-bec2-d2989a6f8dcb) This was what makes me think it's intentional as away to allow user customizations to apply on top of imported keymaps, but it also means what you import isn't immediately what you get, and when I saw the restore button I had assumed it restored the section back to the factory 'Blender' preset defaults. That's what makes them feel unreliable, at least as backups which is what I export them for. I was more expecting an import to override everything which is how most apps handle keybind presets, so I avoided hitting the restore buttons, and when I had accidentally unbinded W and D in the original post, I kept reimporting the same keymap not understanding why they wouldn't come back. I manually re added them, exported, removed them and then reimported to make sure the export was working, and then those deletions persisted onto the reimport and I thought blender was broken in some way. Especially after those keys did work when importing in blender 3.6, but it was really just because the settings were default on that install.
Member

Thanks. From recent description this sounds same as #86228. Can you check?

Thanks. From recent description this sounds same as #86228. Can you check?

It pretty much is, yeah. I'll close this as a duplicate

It pretty much is, yeah. I'll close this as a duplicate
Blender Bot added
Status
Archived
and removed
Status
Needs Information from User
labels 2024-04-26 16:07:19 +02:00
Member

Thanks :)

Thanks :)
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#119408
No description provided.