GNOME Bugzilla – Bug 305459
dnd icons and other broken (gdk_pixbuf ?)
Last modified: 2011-02-04 16:18:46 UTC
For a little while now, the dnd icons in nautilus have shown up as garbage. This also appears in other places : the buddy icons in the gaim contact list, the picture thumbnails in the background capplet, etc - so I guess this is has something to do with the gdk_pixbuf handling in gtk+. This may have to do with cairo ???
Created attachment 46881 [details] screenshot : drag-n-dropping a folder in nautilus
Created attachment 46882 [details] screenshot : drag-n-dropping a thumnailed image in nautilus
Created attachment 46883 [details] screenshot : thumbnails in the background capplet In all three screenshots, the expected pixbufs are either distorted or full of artefacts. This is all with gtk+, pango and cairo CVS.
I can reproduce this too, I've traced the dnd bug origin to gdk_window_set_back_pixmap(), although I'm not very sure about what could the error be...
Created attachment 47119 [details] [review] patch that fixes the dnd issue (not the treeview one), but looks and smells like a bad hack
I tried the patch and indeed it works - the reasons why are less clear ;-)
Do you still see this with 2.7.0 and cairo 0.5.1 ?
I've just tested it with cairo and Gtk+ HEAD, and it's still happening (both dnd, and thumbnails in the background capplet, plus other places, like the color in the appointments list shown by the clock applet)
Same here, still happening. Another observation that might be useful (or not) : gaim 1.3.1 shows the bug as well, in the display of buddy icons in the contact list. gaim 2.0 (CVS) does not.
what system do you see this on ? big-endian or little-endian ? I don't see it on this i386 box, and there have been some endianness fixes in CVS today for problems that surfaced on ppc. Can you retry with current cvs ?
I'm still seeing the bug in nautilus with CVS everything (nautilus/gtk+/cairo). This on a dumb i386 architecture, with XFree 4.3.0.
Same here, i386 arch and XFree 4.3.0 too
Do you still see this with cvs cairo ? Owen expanded his workaround to also trigger on older XFree86.
Drag and drop now works fine, oddly, I'm still seeing issues with the background capplet and the appointments color in the clock applet & evo
Created attachment 48470 [details] These things in the treeview should be plain color squares...
Same thing here. Drag-n-drop works fine (which is great) but the background capplet (and the color squares in evo and clock applet) are still broken... Maybe it's a totally different bug.
Well, I didn't expect originally that the two things were the same problem... it's not at all odd to me. (Except that I can't imagine what's going wrong with the background capplet for you. It could be some other X server bug, I suppose :-()
I'm extremely happy to report that both problems (background capplet and color squares in evo and the clock applet) are now fixed. I'm not sure exactly when they were fixed, I guess it must come from a recent change in cairo...