Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-73949

Qt should provide some right click emulation for touchscreen on non Windows platforms.

    XMLWordPrintable

Details

    • Linux/Wayland, Linux/X11

    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

          For Gerrit Dashboard: QTBUG-73949
          # Subject Branch Project Status CR V

          Activity

            People

              srutledg Shawn Rutledge
              andrey_yashkin Andrey Yashkin
              Votes:
              5 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated: