I have a button in a menu which also has a hotkey combination assigned.
If I use that hotkey, data.func.qualifiers_raw shows the keys being held.
If I use only the keyboard to open the menu (via Alt+Shortcut) and then to select the menu item, qualifiers_raw never detects any qualifiers I hold.
Is that the expected behaviour? Is there another way to read those keys?
Let's say I have a menu with a button labeled &Button.
The way I open the menu (mouse or accelerator key) isn't really relevant. Let's say it's already open for these tests:
I use the mouse to select the button. I can hold down Ctrl, Shift, Alt or any combination (except just Alt because it opens the editor). Result:qualifiers_raw gives me the correct result, so I can trigger a set of different actions.
I use the B key to select the button, hoping to trigger the same actions by holding the same qualifier keys. Anything involving Alt doesn't do anything at all (which is fine). But I can hold Ctrl, Shift, both or none and the button will be selected. Result:qualifiers_rawalways remains empty.
I select the button with Up/Down and Return, again holding Ctrl, Shift, both or none. Result:qualifiers_rawalways remains empty.
(Any hotkey I defined for the button is entirely separate from this.)
So it seems currently qualifiers_raw only works for mouse clicks - that's what I was wondering about because I'm very much a keyboard person.