Property qualifiers_raw remains empty

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?

How are you selecting the menu item? (Accelerator key, or cursor keys/return, or mouse, etc.)

Normally you would release Alt after opening the menu, so it wouldn't still be down when selecting the menu item.

(qualifiers_raw tells you which of the Shift, Ctrl, etc. keys are down; it won't necessarily tell you the button's hotkey.)

Ok, I guess I wasn't clear enough.

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:

  1. 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.

  2. 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_raw always remains empty.

  3. I select the button with Up/Down and Return, again holding Ctrl, Shift, both or none.
    Result: qualifiers_raw always 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.

This was improved in 13.14.1.