Details
Description
Shift + 1 on Mac OS keyboard should give the code 49 but the code gets detected as 0. However, pressing 1 without Shift gives the right code of 49.
Single quote. Gets detected as 0 again. But Shift + single quote (i.e. double quote) works fine and gives a code of 222.
0 and 9 (on Mac OS keyboard, possibly mapped to Keypad 0 and 9 on Microsoft Keyboards) give 48 and 57 respectively. But when we press Shift + 0 and Shift + 9, the numbers are reversed to 57 and 48 respectively.
To Reproduce use the following url on Chrome and QtWebEngine example like quicknanobrowser
:
Here is a sample URL: http://output.jsbin.com/awenaq/4
Please try it out in Chromium and then in Qt 5.5.1 and Qt 5.6.0 beta WebEngine examples
Attachments
Issue Links
- relates to
-
QTBUG-50401 Update KeyEvent to key code mapping from QtWebkit
- Closed
For Gerrit Dashboard: QTBUG-50354 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
145659,2 | Send proper key codes for KeyEvents to WebKit. | 5.5 | qt/qtwebengine | Status: MERGED | +2 | 0 |