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

        1. qtbug37759_example_qt5.patch
          5 kB
          Friedemann Kleint
        2. qtbug37759_example_qt4.patch
          4 kB
          Friedemann Kleint
        3. qtbug37759_example_native_gestures_test_qt4.patch
          8 kB
          Friedemann Kleint
        4. 0001-WIP-Try-to-improve-multiple-gesture-handling-in-imag.patch
          5 kB
          Friedemann Kleint

        Issue Links

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

          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