Details
-
Bug
-
Resolution: Duplicate
-
P1: Critical
-
None
-
5.12.7, 5.13.2, 5.14.1
-
None
Description
First, open Chromium Devtools and start logging keydown events with:
document.addEventListener("keydown", function(event) { console.log(event); }, true);
Then, using a German keyboard layout, try typing (for example) AltGr + M.
When using Qt WebEngine, the event's ctrlKey field is erroneously marked as true. In addition, Qt seems unable to distinguish between left-Alt and right-Alt.
I've attached screenshots of what the event log looks like for AltGr + M in Chrome (80.x) versus Qt Webengine (running the Simple Browser example).
Unfortunately, the behavior in Qt makes it impossible to distinguish between a user typing Ctrl + Alt + M from AltGr + M.
Attachments
Issue Links
- duplicates
-
QTBUG-69317 AltGr is mismapped to Alt key in Windows
- Reported