-
Bug
-
Resolution: Done
-
P2: Important
-
5.10.0 RC
-
None
-
92b17fd766205c18f692be4f58a31d76d57758ae
In case gesturePolicy is DragThreshold and the threshold is exceeded:
It does not take an exclusive grab, so when you drag past the drag threshold, it does not receive QQuickPointerHandler::onGrabChanged(CancelGrabExclusive), and does not receive QQuickPointerHandler::onGrabChanged(CancelGrabPassive) either. So it seems that to be consistent, emitting the canceled signal will need to be a special case.
(Noticed this while testing the tapHandler.qml manual test at some point)
In case gesturePolicy is withinBounds and you drag outside the bounds: it receives QQuickPointerHandler::onGrabChanged(UngrabExclusive) which is also not the same as grab cancellation, but we can say the tap action has been canceled, and that's the intended meaning of the TapHandler.canceled signal.
- relates to
-
QTBUG-113005 Tap handlers are broken on Android.
-
- Closed
-
For Gerrit Dashboard: QTBUG-65003 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
213665,3 | TapHandler: emit canceled when a gesturePolicy constrait is violated | 5.10 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
213667,1 | QQuickSinglePointHandler: don't give missing point warning if ID == 0 | dev | qt/qtdeclarative | Status: ABANDONED | +2 | 0 |