Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.14.1, 5.14.2, 5.15.0, 5.15.1, 5.15.2, 6.0.1
-
-
4a5b0ad84fbc0f814c38b0abcccb7b5421f41a19 (qt/qtdeclarative/dev) 9e6274e180312e9e6c9d26322668f1427abfe4b9 (qt/qtdeclarative/6.2)
Description
When there are two or more DropAreas and we move drag from one to another DropArea we get entered() signal from the new one before exited() from the previous one.
Steps to reproduce:
- Open Drag and Drop example https://doc.qt.io/qt-5/qtquick-draganddrop-example.html
- Open DropTile.qml end add next lines to DropArea:
onEntered: console.log("ENTERED")
onExited: console.log("EXITED")
- Compile and run example
- Select Tiles in the app
- Move some item to the nearest DropArea, don't release LMB, then move it to another one and release LMB.
- Look at the application output:
qml: ENTERED
qml: ENTERED
qml: EXITED
qml: EXITED
Qt 5.12.7 and earlier works fine.
I have checked on Windows, Android and iOS, it reproduces for all of them.
Attachments
Issue Links
- resulted from
-
QTBUG-30305 DropAreas work weirdly when they are intersectant
- Closed
For Gerrit Dashboard: QTBUG-82263 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
347129,6 | qquickdeliveryagent: Fix drag events being sent in the wrong order | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
384479,2 | qquickdeliveryagent: Fix drag events being sent in the wrong order | 6.2 | qt/qtdeclarative | Status: MERGED | +2 | 0 |