Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.13.0
Description
When sending key event through sendEvent, the event is ignored by Shortcut in QML.
It seems the same problem as QTBUG-48325 but this is in QML.
How to reproduce:
1. Run attached sample code
2. Press "A" key
Expected output:
receive Key event code=0x00000041
receive Key event code=0x00000042
qml: B received
qml: onPressed: key=42
qml: onPressed: key=41
Actual output:
receive Key event code=0x00000041
receive Key event code=0x00000042
qml: onPressed: key=42
qml: onPressed: key=41
Attachments
Issue Links
- relates to
-
QTBUG-48325 [REG: 5.4.2->5.5.0] Sending key event through sendEvent ignores shortcuts
-
- Closed
-
- resulted in
-
QTBUG-136694 shortcutOverride is not working properly when inserting KeyEvent.
-
- Reported
-
For Gerrit Dashboard: QTBUG-78304 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
276804,3 | Send ShortcutOverride event when receiving a non-spontaneous key press | 5.13 | qt/qtdeclarative | Status: ABANDONED | 0 | 0 |
276813,4 | Send ShortcutOverride event when receiving a non-spontaneous key press | 5.14 | qt/qtdeclarative | Status: MERGED | +2 | 0 |