Page MenuHome

Keyboard "quick access" doesn't work if wm.context_menu_enum is assigned to shortcut
Confirmed, NormalPublic

Description

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 445.87

Blender Version
Broken: version: 2.90.0, branch: master, commit date: 2020-08-31 11:26, hash: rB0330d1af29c0
Worked: (newest version of Blender that worked as expected)

Short description of error


In editor type menu you can press letter on keyboard to quickly select editor type. D for 3D view or U for UV editor.
This doesn't work if editor type menu is opened with custom keyboard shortcut.

Exact steps for others to reproduce the error

  1. Assign keyboard shortcut to Editor Type Menu
  2. Press shortcut just assigned
  3. Press some letter on keyboard to change editor type

It doesn't work.

Event Timeline

Richard Antalik (ISS) renamed this task from Shortcut key not work for Editor type context to Keyboard "quick access" doesn't work if wm.context_menu_enum is assigned to shortcut.Sep 3 2020, 8:16 PM
Richard Antalik (ISS) changed the task status from Needs Triage to Confirmed.
Richard Antalik (ISS) updated the task description. (Show Details)

Underlined hotkeys don't work in any popup of type Context Enum Menu (wm.context_menu_enum), I can confirm this on Win7/10 with latest 2.93.0-be51d671b500.
But in the UV Select Mode (wm.call_menu) popup they work!


All versions 2.9x seem affected. In 2.83.12 this popup menu have no underlined keys. So, the incomplete feature seems introduced with 2.90

P.S. a list with those menus (+shortcuts to call them) can be seen in Preferences - Keymap by searching for "context enum menu".