Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
6.2.0
-
None
-
-
137ba2aba858bc32350e82ef6a1da91266c7f432
Description
See attached example.
- handle keyPressEvent in a widget
- user presses Ctrl+a (in Qt terms: Meta+a)
- first event is for Ctrl
- exected: second event is for key 'a' with key()==65
- actual: second event has key()==1
This is a behavior change wrt Qt 5, and I wonder what use it has, and how I'm supposed to handle it. It breaks the "Record Shortcut" functionality in Qt Creator when built with Qt 6.
Attachments
Issue Links
- resulted in
-
QTCREATORBUG-26324 Recording keyboard shortcuts does not work with Qt 6
- Closed
For Gerrit Dashboard: QTBUG-97713 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
378114,2 | Initialize member variables before we check their values | dev | qt/qtbase | Status: MERGED | +2 | 0 |
378228,2 | Initialize member variables before we check their values | 6.2 | qt/qtbase | Status: MERGED | +2 | 0 |