Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.5.8, 6.8.1
-
Raspberry Pi 4B running Boot2Qt 6.8.1
-
-
97aa183be (dev), b4b8b26b5 (6.10), 375e6f997 (6.9), c44f44731 (tqtc/lts-6.8)
Description
See https://doc.qt.io/qt-6/embedded-linux.html#environment-variables-used-by-eglfs
Code
#include <QtWidgets> int main(int argc, char *argv[]) { qputenv("QT_QPA_EGLFS_ROTATION", "-90"); qputenv("QT_LOGGING_RULES", "qt.qpa.input*=true;qt.qpa.events*=true;qt.qpa.tuio.*=true;qt.pointer.*=true;qt.pointer.velocity=false;"); QApplication a(argc, argv); QWidget win; auto layout = new QVBoxLayout(&win); for (int i = 0; i < 20; ++i) layout->addWidget(new QPushButton(QString("Button %1").arg(i))); win.show(); return a.exec(); }
Steps to reproduce
- Build and run the code above on an embedded Linux device (eglfs) with a touchscreen + mouse
- Use the mouse to click any 5 buttons
- Use the touchscreen to tap the same 5 buttons
Outcomes
- (Step #2) The chosen buttons visually respond to the clicks (Expected)
- (Step #3) The chosen buttons don't visually respond to the taps. Perhaps a different button responds instead (Expected)
Attachments
Issue Links
- relates to
-
QTBUG-132914 Qt Quick Drawer cannot be opened by touch when window is rotated
-
- Reported
-
For Gerrit Dashboard: QTBUG-132833 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
650989,2 | eglfs: Add a few notes regarding touch input rotation | dev | qt/qtdoc | Status: MERGED | +2 | +1 |
651892,2 | eglfs: Add a few notes regarding touch input rotation | 6.10 | qt/qtdoc | Status: MERGED | +2 | 0 |
652052,2 | eglfs: Add a few notes regarding touch input rotation | 6.9 | qt/qtdoc | Status: MERGED | +2 | 0 |
652109,2 | eglfs: Add a few notes regarding touch input rotation | tqtc/lts-6.8 | qt/tqtc-qtdoc | Status: MERGED | +2 | 0 |