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

Touch based gestures may trigger twice

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes