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

Qswipe gestures not working in qt5.7

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Incomplete
    • Affects Version/s: 5.7.0
    • Fix Version/s: None
    • Labels:
      None

      Description

      Currently we are working on QGesture class which is having QPan, QPinch, QSwipe and QTap gestures.

      In among four the pinch and pan are working perfectly in imx6 boards.but swipe is not working not at all.

      How I tested the swipe gestures in target:

      Initially we tested using a QT5 sample application called image widgets, which supports pinch,pan and swipe gestures. We tried using single finger to swipe the image but it doesn't help us.

      We exported some variables to enable the debug output of the image widget application.

      $ export QT_LOGGING_RULES=qt.qpa.input=true
      $ export QT_LOGGING_RULES=qt.examples.imagegestures=true

      After exporting these I could debug the image widget sample qt5 application,In the debug output I am not getting the swipe event.

      After searching some qt5 source code(qstandardgestures.cpp) ,I get to know that QT5 swipe is using three fingers.

      "if (ev->touchPoints().size() == 3) {
      d->state = QSwipeGesturePrivate::ThreePointsReached;"

      Also we tried with three fingers in qt5 image widget application.It's failed to move another image.

      Please find the attached pictures below

        Attachments

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

          Activity

            People

            Assignee:
            mmutz Marc Mutz
            Reporter:
            prakash56755 prakash m
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes