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

Touch based gestures may trigger twice

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P1: Critical
    • 4.7.4
    • 4.7.0
    • Core: Event loop

    Description

      If you have a QGraphicsObject and a viewport of the QGraphicsView subscribing to the same gesture that uses QTouchEvents, then the QGestureEvent may be delivered twice to the graphicsobject:

      • first when the QTouchEvent is delivered to QGraphicsView viewport, it is filtered through gesture recognizer and it triggers
      • that QGesture is delivered as a part of QGestureEvent to the viewport and then propagates to the scene and to QGraphicsObject
      • then the touch event is delievered to the QGraphicsObject, it is filtered through gesture recognizer which triggers
      • that event again delivered to the viewport and then to QGraphicsObjects.

      Attachments

        Issue Links

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

          Activity

            People

              dzyubenk Denis Dzyubenko (Inactive)
              dzyubenk Denis Dzyubenko (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes