Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
6.0.0
-
None
-
macOS 10.15
-
-
7c85a45fde5dd3f84eb033261ccb0d54ee72d30c (qt/qtbase/dev) cdeed3f2ad5c59cfd5b6542033fd8f39567a3890 (qt/qtbase/6.0) 7bdb824b2f1632b9a441639df41b3199416f402a (qt/qtbase/6.1)
Description
Build and run the attached test app against Qt 6.0.0. It registers an action with shortcut 'Alt-§'. This is the top-left-most key on the keyboard on my UK keyboard.
Then press Opt-§ to trigger the action. It crashes in QCocoaKeyMapper::keyMapForKey when comparing the results of the Cocoa and Carbon APIs. The immediate cause is indexing into an empty string, but perhaps this suggests something wrong with the way the newer API is being used anyway.