Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.0.1, 5.2.0, 5.3.0 Alpha
-
windows 7 ultimate SP1
Qt 5.0.1 MSVC2010 32bit
-
3fde977a817498817e98ce350d493658b0ed4458 (qt/qtdeclarative/5.15)
Description
1 DragDropBug1Sample1 and DragDropBug1Sample2 are similiar. But their outputs are different when you do as following.
step | DragDropBug1Sample1 output | DragDropBug1Sample2 output |
---|---|---|
Drag the red rectangle to blue rectangle, and don't release left button | onEntered greenDropArea onEntered blueDropArea | onEntered blueDropArea |
Then drag the red rectangle to green rectangle, and don't release left button | onExited blueDropArea | onExited blueDropArea onEntered greenDropArea |
Then drag the red rectangle back to blue rectangle, and don't release left button | onEntered blueDropArea | - |
Finally drag the red rectangle back to white background | onExited blueDropArea onExited greenDropArea | onExited greenDropArea |
2 DragDropBug1Sample3 can be tested as following. Notice: the outputs of step 2 and step 4 are empty.
1) Drag red rectangle to green rectangle, and don't release left button. (output---onEntered greenDropArea)
2) Then drag red rectangle to the intersection between green rectangle and blue rectangle, and don't release left button. (output---)
3) Then drag red rectangle to blue rectangle, and don't release left button. (output---onExited greenDropArea onEntered blueDropArea)
4) Then drag red rectangle back to the intersection between green rectangle and blue rectangle, and don't release left button. (output---)
5) Then drag red rectangle to green rectangle, and don't release left button. (output---onExited blueDropArea onEntered greenDropArea)
6) Finally drag red rectangle back to white background. (output---onExited greenDropArea)
Attachments
Issue Links
- is duplicated by
-
QTBUG-30355 Drag event capturing prevents proper intersection detection
- Closed
- relates to
-
QTBUG-120341 QtQuick: DropArea does not work when placed over WebEngineView
- Reported
-
QTBUG-36895 Overlapped, non-child DropAreas don't receive events
- Closed
- resulted in
-
QTBUG-82263 [REG: 5.13->5.14]: QML DropArea wrong signals order
- Closed