Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.0.0 Beta 2, 6.6
-
None
-
Linux mint, 32 bit
-
fdd2fc2c7 (dev)
Description
1) Compile and Run the provided example
2) Change keyboard layout in the system settings
RESULT:
On Qt 4.8.x KeyboardLayoutChange is received, on Qt 5 KeyboardLayoutChange is not received.
class Me: public QWidget { Q_OBJECT public: Me(): QWidget() { setGeometry(300,300,600,600); qDebug() << "done"; } bool event(QEvent *ev) { if (ev->type() == QEvent::KeyboardLayoutChange) { qDebug() << "kb layout changed"; } else { return QWidget::event(ev); } } }; int main(int argc, char* argv[]) { QApplication app(argc, argv); qDebug() << qVersion(); Me es; es.show(); return app.exec(); };
Attachments
Issue Links
- depends on
-
QTBUG-27680 Qt5 should utilize libxkbcommon API for keyboard backend
-
- Closed
-