Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.5.1
-
-
a3dea1b4f (dev), 85f6ffc9b (6.6), 9d1e8deef (tqtc/lts-6.5), b09d82e6f (tqtc/lts-6.2)
Description
It seems that there is a mistake in the documentation : https://doc.qt.io/qt-6/qml-qtquick-drag.html#imageSource-attached-prop
the drag action only works on the second try
steps to repreduce the issiue:
1) replace the (source:path_to_your_image.jpg) with your image path
2)build and run the application
3)try to drug the picture
and also i have attached an updated code that fix the issue
Attachments
Issue Links
- duplicates
-
QTBUG-112673 Drag.imageSource example - no image on first drag
- Closed
- relates to
-
QTBUG-105903 DragHandler does not active on press when dragThreshold is zero
- Reported
-
QTBUG-84232 DragHandler and its HandlerPoint don't make it easy to detect whether the point is pressed on a touchscreen
- Reported
-
QTBUG-37366 Drag and Drop Pixmap support
- Closed
- resulted in
-
QTBUG-117397 Internalize the screengrab that the attached Drag property does
- Reported
For Gerrit Dashboard: QTBUG-115491 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
505618,2 | Add qt.quick.dnd logging category | dev | qt/qtdeclarative | Status: NEW | 0 | 0 |
505684,1 | WIP internalize Drag screengrab | dev | qt/qtdeclarative | Status: NEW | -2 | 0 |