Comment 42 for bug 410432

Revision history for this message
In , Nick Shaforostoff (shafff) wrote :

not so fast...

i played with drag-n-dropping further, and found several more crashes that are less easy to reproduce (they happen because dragPrivate() is 0 after the hovered window disappears). and although i fixed them by adding preliminary checks in qdnd_x11.cpp, often it is not possible to finish the drag-n-drop operation if any window disappears during it, even when we end up dropping on a correct window. (nothing happens).

so I conclude that the case of window disappearance during the drag is not handled at all either by Qt code, or X11 protocol itself.
we need to find a way to recover after Badwindow error message (in xdndHandleBadwindow)