Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.6
-
None
Description
Link to the property to be fixed: https://doc.qt.io/qt-6.5/qml-qtquick-droparea.html#drag.x-prop
The linked property's description says:
These properties hold the coordinates of the last drag event.
But it's not clear "what coordinate" these x and y reside, in other words, where their origin is; is it the top left corner of the entire screen? or is it the top left corner of the DropArea?
In reality, these x and y's origin(0, 0) is the top left corner of DropArea and this should be clearly stated. Otherwise it may confuse the readers on how they can use this data.
The project you can open in QDS to see the value of drag.x and drag.y is attached. You can drag the white rectangle from the red area to the green one and see the values in the Application Output.