Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.1.0 Beta 1
-
Ubuntu 12.10
window manager awesome v3.4.13 (Octopus)
-
b212fc80a7be8877ddbdf99f95a4f7663293f551
Description
I've attached a demo application showing the issue. It prints the relevant modifiers for each incoming key press event:
- Build and run
- Position mouse cursor on the window
- Hit "Alt+g". The output for Qt 5.1 Beta 1 (and at least up to sha1 a11c7ef) is:
virtual void MyWidget::keyPressEvent(QKeyEvent*) Qt::AltModifier virtual void MyWidget::keyPressEvent(QKeyEvent*) Qt::MetaModifier Qt::AltModifier
The first call corresponds to pressing Alt, the second one to additionally pressing 'g'.
It works with Qt 5.0.2, e.g. the output for that is:
virtual void MyWidget::keyPressEvent(QKeyEvent*) Qt::AltModifier virtual void MyWidget::keyPressEvent(QKeyEvent*) Qt::AltModifier
Attachments
Issue Links
- replaces
-
QTCREATORBUG-10027 Keymap editor detects "Alt+S" as "Meta+Alt+S" (X11)
- Closed
- resulted in
-
QTCREATORBUG-9476 "Meta +" is prepended to key sequences when pressing "Alt"
- Closed