GNOME Bugzilla – Bug 750443
GtkTreeDragSource: can not set drag selection content
Last modified: 2018-04-14 23:55:14 UTC
Created attachment 304632 [details] Basic Python DnD script demonstrating the bug The Gtk.TreeDragSource does not allow setting of the drag selection contents. Setting the content from within a "drag-data-get" only sets the selection contents within the handler func and this does not propagate the "drag-data-received" event to the drag target. The attached python script shows how this is present even with very simple cases. This was tested on Fedora rawhide (Gtk+ 3.17 I think), however it seems to have been causing an upstream bug in sugar since Fedora 21 (Gtk 3.14 I think) [1]. [1] http://bugs.sugarlabs.org/ticket/4853
I don't know exactly whats missing in this case - either the treedragsource implementation is not 100% right, or the target entries. In any case, I've added a working implementation of this in C here: https://git.gnome.org/browse/gtk+/commit/?id=dee0da30b65cea3bf59fcbe1ff147dff266f09f7
We're moving to gitlab! As part of this move, we are moving bugs to NEEDINFO if they haven't seen activity in more than a year. If this issue is still important to you and still relevant with GTK+ 3.22 or master, please reopen it and we will migrate it to gitlab.
As announced a while ago, we are migrating to gitlab, and bugs that haven't seen activity in the last year or so will be not be migrated, but closed out in bugzilla. If this bug is still relevant to you, you can open a new issue describing the symptoms and how to reproduce it with gtk 3.22.x or master in gitlab: https://gitlab.gnome.org/GNOME/gtk/issues/new