GNOME Bugzilla – Bug 738403
dnd: non-text dnd
Last modified: 2015-11-17 20:46:26 UTC
Testing a wayland session with 3.14.0 here, I see file dnd work between two nautilus window, but dropping the file to gedit does not fall back to pasting the url, as it does under X.
I couldn't reproduce at first, but after some trying I realized this may happen if the drag dest got previously tricked into an inconsistent state after a failed drag somewhere. Currently on wayland there's no "drag finished" notification, which makes the gdk grab survive the DnD operation in these cases we can't tell there's been an end to it. The next click triggers the ungrab.
So, either wl_data_device grows a notification for these cases, or we avoid doing the gdk grab on wayland, and anything else that might need undoing on the button release we never get on that backend.
dnd between the file chooser in gtk3-demo and gedit works as expected now. Anything left to do here ?
lets close this