Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
Qt Creator 2.8.0-beta
-
None
Description
Menu: Tools > Options > Environment > Keyboard
Try to define a shortcut "Alt+G" for any action:
- Clear the current key sequence
- Press "Alt+G" - "Meta+Alt+G" will be displayed.
- Press the windows key - some artifacts are displayed (see attachment).
Shortcuts with Ctrl and Shift seem to work.
Digging around lead me to ShortcutSettings::translateModifiers
// ... if (state & Qt::MetaModifier) result |= Qt::META; if (state & Qt::AltModifier) result |= Qt::ALT; // ...
...but that just gets the modifiers from the event. Looks like a Qt Bug, see linked bug.
Attachments
Issue Links
- resulted from
-
QTBUG-31572 For the key event e.g. "Alt+g" modifiers Qt::AltModifier *and* Qt::MetaModifier are set
- Closed