Details
-
Task
-
Resolution: Unresolved
-
P2: Important
-
None
-
None
-
None
Description
This is important to the KDE Plasma Desktop project.
Ordinarily, TapHandler detects the long press. But in order for DragHandler to start dragging right away without waiting for the drag threshold to be exceeded, it would need an imperative (JS) API like startDragging() or some such; so it seems less ugly to add the long press detection to DragHandler, so that dragging can be initiated either way (by exceeding the drag threshold or by long press); and it should somehow be configurable, because in UIs which need to initiate drag via long press, sometimes it's not appropriate to allow initiating it by dragging past the threshold.
Attachments
Issue Links
- depends on
-
QTBUG-84179 Decide what to do about long-press events and maybe right-click emulation in Qt 6
- Reported
- relates to
-
QTBUG-68082 make sure it's OK to use DragHandler in a ListView delegate
- Reported
-
QTBUG-77634 Problems with grabbing / logic control in overlapped Tap and Drag Handlers.
- Reported
-
QTBUG-84232 DragHandler and its HandlerPoint don't make it easy to detect whether the point is pressed on a touchscreen
- Reported