Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Not Evaluated
-
Resolution: Duplicate
-
Affects Version/s: 5.1.0 , 5.1.1
-
Fix Version/s: None
-
Component/s: Core: Event loop, GUI: Complex Input methods
-
Labels:None
-
Environment:Windows 7 64 Bit
Description
The value returned by QKeyEvent::key() for keys that need the shift key changed between Qt 5.0.2 and Qt 5.1.0.
On german keyboard the double quote (") character needs the shift key (Shift+2).
Qt 5.0.2
QKeyEvent contained the values key = 34 (Qt::Key_QuoteDbl), modifiers = Qt::ShiftModifier and text = ".
Qt 5.1.0
QKeyEvent now contains the values key = 50 (Qt::Key_2), modifiers = Qt::ShiftModifier and text = ".
Qt 5.1.1 (MinGW 4.8)
QKeyEvent now contains the values key = 50 (Qt::Key_2), modifiers = Qt::ShiftModifier and text = ".
Attachments
Issue Links
- relates to
-
QTBUG-33409 Shift modifier does not work in key press event
-
- Closed
-