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

QWidget-gestures do not work

    XMLWordPrintable

Details

    • Pass touch events 18a444c33074dd89f8855ad12dca1c55f566ff86 (stable, 1.4.2014, 5.3)

    Description

      Run the Gesture examples from,

      qt5/qtbase/examples/widgets/gestures/imagegestures

      Try pinch, swipe and pan. They dont work.
      Modify example to add tap and tapandhold gestures,

      grabGesture(Qt::TapGesture);
      grabGesture(Qt::TapAndHoldGesture);
      

      Tap and TapAndHold gestures works.

      Modify example to add, nativewindows attribute,

      app.setAttribute(Qt::AA_NativeWindows);
      

      Now 2 finger pan and 2 finger rotate works, and weirdly these gestures are treated as Pinch gestures.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              kleint Friedemann Kleint
              tapadar Indrajit Tapadar (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes