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

TapHandler: should not emit longPressed if the point is dragged

    XMLWordPrintable

Details

    • 2b10e11a95963d444e8f329eca6c29eeb38573d0, 1b166c87d (dev), 6e3c25f94 (6.6), 974430777 (tqtc/lts-6.5)

    Description

      As long as the gesturePolicy is not DragThreshold, you can drag your finger or mouse around within the bounds of the parent Item and a long press will still be detected. If the gesturePolicy is ReleaseWithinBounds, you can even drag outside and still get a longPress. Maybe in a strict sense it's correct, but not sure if it makes sense in the real world: usually the idea is to stay in one place to trigger a long press.

      Attachments

        Issue Links

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

          Activity

            People

              srutledg Shawn Rutledge
              srutledg Shawn Rutledge
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: