Details
-
Bug
-
Resolution: Duplicate
-
P2: Important
-
None
-
4.5.2
-
None
-
Mac OS 10.5/Mac OSX 10.6
Description
This bug can be repeated with the "Drop Site" demo application on a Mac, using a Cocoa build of Qt.
The Carbon version works, but the bug has also been observed on Linux.
To repeat the bug, drag a file from the Finder into the <drop content> area, then (without dropping) pull the cursor out of the area quickly. You will see that sometimes the <drop content> area remains highlighted (as if the drag is still in progress).
The reason is dragLeaveEvent() was not called.
The bug is easier to repeat when a slight delay (e.g. usleep(100)) is placed in the dragMoveEvent() call.