Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.15
-
None
Description
PointHandler.point.position.x !== 0 is one workaround. It doesn't work for DragHandler.centroid.position because the centroid position isn't reset on release, at least not in 5.12.
DragHandler.centroid.pressure and PointHandler.point.pressure stays at 0 unless the touchscreen has pressure-detecting capabilities. But maybe it should change to 1 in that case, if the point is being pressed at all; that could stand in for a boolean pressed property.
I think before I was thinking that it's silly: if the point is there at all, then it's being pressed, because touchscreens don't detect hover. But it's not quite sensible if DragHandler and its centroid never change in any way when the DragHandler is released. The active property won't be true unless you're dragging.
PointHandler.active is an easier workaround.
Attachments
Issue Links
- relates to
-
QTBUG-68075 DragHandler: need the ability to start dragging after a long press
- Reported
-
QTBUG-115491 Drag.imageSource Only Works On Second try
- Closed
- resulted from
-
QTBUG-84231 TapHandler in parent of an event-handling Item always declines the press event
- Reported