Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
None
-
5.12.3, 5.15.7, 6.2.1, 6.3.0 Feature Freeze
Description
Input device affects QDrag behavior when drag started by a TapHandler signal. In tested cases the drag begins normally and an image of the target is shown on the screen but
With touch screen:
Actually trying to drag the target after the drag has begun (during the same press) has no effect on the image and it will remain it's initial position. First release will not stop drag. Pressing the image again after the first release will allow the image to be dragged and a second release will end the drag normally.
With mouse (expected behavior):
Image moves with the cursor when the cursor is moved starting from the moment drag begins (on the same press). Releasing mouse button ends the drag instantly.
Steps to reproduce:
Run the attached project & attempt to drag the "Drag target" anywhere using a touch screen.
Attachments
Issue Links
- relates to
-
QTBUG-68078 DragHandler: integrate with DnD
- Reported
-
QTBUG-106368 Wrong Usage of DoDragDrop() Causes Drag and Drop via Touch to Hang
- Closed
For Gerrit Dashboard: QTBUG-76310 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
265024,3 | doc: Use DragHandler rather than MouseArea in the externaldrag snippet | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
356427,2 | doc: Use DragHandler rather than MouseArea in the externaldrag snippet | tqtc/lts-5.15 | qt/tqtc-qtdeclarative | Status: MERGED | +2 | 0 |
356432,3 | doc: Use DragHandler rather than MouseArea in the externaldrag snippet | 6.2 | qt/qtdeclarative | Status: MERGED | +2 | 0 |