Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
5.2.1, 5.3.0
-
None
-
Mac OS X
Description
When pressing Option+<key> on the Mac:
- In Qt 4, event.key in Keys.onPressed equals <key>.
- In Qt 5.2, event.key in Keys.onPressed is not guaranteed to equal <key>. Instead, it equals the keycode of the "alternate character" (e.g. Qt.Key_nobreakspace instead of Qt.Key_Space for Option+Space).
This requires platform-specific code for capturing Option+<key> on the Mac (by tracking down the keycode for the alternate character, then adding Mac-specific code to handle it).
Attachments
Issue Links
- is replaced by
-
QTBUG-33200 Mac: Option + Any key (A,B,C etc )is broken
- Closed