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 742646 - DnD images not shown
DnD images not shown
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: .General
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2015-01-09 13:59 UTC by Christoph Reiter (lazka)
Modified: 2015-01-20 03:10 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christoph Reiter (lazka) 2015-01-09 13:59:37 UTC
In current trunk DnD images are not shown. For example selecting text and dragging it did show an image of the text. Also dragging treeview rows did show an image.
Comment 1 Benjamin Otte (Company) 2015-01-09 14:32:31 UTC
This is because there's an extra GtkWidget::style-updated signal happening on the dnd window now. The dnd code just does

  gdk_window_set_background (gtk_widget_get_window (window), dnd_image);

and hopes that works. However, GTK updates the window background in the style-updated signal, so the extra emission causes it to be overwritten (with transparency).

I'm now wondering if the proper fix is to teach GtkWindow about respecting the background or if it is to tell the dnd code to not clobber the background.
Comment 2 Matthias Clasen 2015-01-20 03:10:04 UTC
Fixed in 8c534fefca02044eda8970cf7fd30cefe9d09749