Page MenuHome

Added hotkeys to switch mode disfunctional / lost hotkeys in keymap
Open, Confirmed, MediumPublic

Description

System Information
Operating system: Windows-7-6.1.7601-SP1 64 Bits
Graphics card: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 419.35

Blender Version
Broken: version: 2.80 (sub 69), branch: master (modified), commit date: 2019-05-19 04:56, hash: rBf2eef452009f
Worked: (optional)

Short description of error
[Please fill out a short description of the error here]

When i add hotkeys to the modes, then this hotkeys does simply nothing. I can't jump to edit mode with added hotkey alt 2 for example.

The second thing could be related, which i can't really test since the hotkeys are disfunctional anyways.

But when i add a hotkey to switch to pose mode, with a armature selected, and switch to a primitive then, and export the keymap, then the hotkey to switch to pose mode is destroyed in the exported keymap. The mode is missing. Vice versa too. When i export the keymap with the armature selected, then the modes for the mesh primitives, to switch to sculpt mode for example, are gone.

What is obvious in the keymap manager is, when i change the object type, then the mode button for not fitting modes turns blank. That's the hotkeys that are missing then after exporting the keymap ...

Exact steps for others to reproduce the error
[Please describe the exact steps needed to reproduce the issue]
[Based on the default startup or an attached .blend file (as simple as possible)]

Open Blender. Add Hotkey Alt 2 for Edit Mode, Hotkey Alt 4 for Sculpt Mode with the cube selected. Then add Alt 3 for Pose Mode with a armature selected. Try to use the hotkeys.

Now export the keymap with the cube selected. And have a look at the code.

Details

Type
Bug

Event Timeline

Sebastian Parborg (zeddb) triaged this task as Needs Information from User priority.

At least for the first issue, the problem is that alt + 2 is already bound to something in the default keymap.

Just search for the alt + 2 in the keymap any the conflicting key maps will show.

Is the second issue still happening for you?

Ah sorry for overlooking that i use a hotkey that is already in use. Yes, it still happens. It doesn't matter what hotkey i assign here. The problem isn't the double, it's that the hotkey gets lost when saving the keymap.

Sebastian Parborg (zeddb) raised the priority of this task from Needs Information from User to Confirmed, Medium.

I can confirm that the Mode for the pose keymap vanishes when selecting an object that doesn't have a pose mode.