After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 738403 - dnd: non-text dnd
dnd: non-text dnd
Product: gtk+
Classification: Platform
Component: Backend: Wayland
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
Depends on:
Reported: 2014-10-12 17:05 UTC by Matthias Clasen
Modified: 2015-11-17 20:46 UTC
See Also:
GNOME target: ---
GNOME version: ---

Description Matthias Clasen 2014-10-12 17:05:11 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.
Comment 1 Carlos Garnacho 2014-10-15 20:02:20 UTC
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.
Comment 2 Matthias Clasen 2015-08-27 00:28:36 UTC
dnd between the file chooser in gtk3-demo and gedit works as expected now. Anything left to do here ?
Comment 3 Matthias Clasen 2015-11-17 20:46:26 UTC
lets close this