Details
-
Bug
-
Resolution: Unresolved
-
P4: Low
-
None
-
5.12.1
-
None
Description
Windows provide by itself a global right click emulation on touchscreen by long hold, but under Linux there nothing like this out of box is provided and most of Qt apps are just unusable on touchscreen under it. Chromium and Gnome apps can emulate right click, but Qt apps can't do this.
I searched Qt sources to find how does Qt syntesate mouse events from touch events and it seems that the case when right click isn't provided by OS was not considered.
https://github.com/qt/qtbase/blob/5.12/src/gui/kernel/qguiapplication.cpp#L2886
Attachments
Issue Links
- depends on
-
QTBUG-84179 Decide what to do about long-press events and maybe right-click emulation in Qt 6
- Reported
- relates to
-
QTBUG-94190 Support x11 standalone mode with window manager functions
- Reported
-
QTBUG-77902 MouseArea does not get fake right click on touchscreen
- Closed
Gerrit Reviews
For Gerrit Dashboard: QTBUG-73949 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
270852,1 | Added ability to emulate right click for widgets which do not accepted touch events | dev | qt/qtbase | Status: NEW | -1 | 0 |
288906,1 | Mouse right button emulation on touchscreen on non Windows platforms | dev | qt/qtbase | Status: NEW | -1 | 0 |
370529,4 | Add an attribute for right-click synthesis from unhandled touch events | dev | qt/qtbase | Status: NEW | -1 | 0 |