Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.8.0, 5.9.1
-
None
Description
The QML Drag component doesn't set the hotspot when starting a drag.
Fix: set the hotspot in qquickdrag.cpp (in startDrag(), line 760) :
drag->setHotSpot(hotSpot.toPoint());
I tested it under Qt 5.9.1 / macOS 10.12, and should affect all versions and OS.
Attachments
For Gerrit Dashboard: QTBUG-61980 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
204749,2 | QQuickDragAttached: make hotSpot work with imageSource | 5.9 | qt/qtdeclarative | Status: MERGED | +2 | 0 |