Inconsistency of events sent by a failed drag'n drop depending on platforms.
@Jehan
Submitted by Jehan Assigned to Jehan @Jehan
Link to original bug (#709067)
Description
We had a difference of behavior on GIMP, when drag'n drop would be cancelled by hitting the Esc key: bug 681709. I fixed it in GIMP, but there still is a core problem in GTK+ because it seems the same suite of events are not run.
After running a few tests, I see that when I escape the drag'n drop with Esc on Linux, it runs a "drag-failed", and after a "drag-leave". On Windows, the "drag-leave" does not occur. And this is why we had a bug (because we were only handling the "drag-leave" event).
I can probably fix this, but I would like to know what is the real succession of events supposed to happen. Are we supposed to actually have a "drag-leave" events after a "drag-failed"? Looks like not really meaningful. But on the other hand, maybe it is. Anyway just tell me what should be. :-) Thanks.
Version: 2.24.x