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

Gesture canceled via policy within QGraphicsScene is not removed from QGestureManager

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 4.7.0
    • 4.7.0
    • Core: Event loop
    • None
    • all
    • 25763b746eca93d53b209ab232d323b9ed3ee465

    Description

      • Ongoing gesture has target in QGraphicsScene (viewport, too)
      • A second gesture starts, with cancel policy
      • The previous gesture should be removed from both QGraphicsScenePrivate::gestureTargets and QGestureManager::m_activeGestures
        => it is not removed from m_activeGestures.

      This causes every other gesture to fail to work properly whenever cancel policy is activated.

      Attachments

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

        Activity

          People

            zander tho (closed Nokia identity) (Inactive)
            mikkohar Mikko Harju
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes