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 305459 - dnd icons and other broken (gdk_pixbuf ?)
dnd icons and other broken (gdk_pixbuf ?)
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: .General
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2005-05-25 18:23 UTC by Vincent Noel
Modified: 2011-02-04 16:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screenshot : drag-n-dropping a folder in nautilus (6.77 KB, image/png)
2005-05-25 18:23 UTC, Vincent Noel
  Details
screenshot : drag-n-dropping a thumnailed image in nautilus (11.07 KB, image/png)
2005-05-25 18:24 UTC, Vincent Noel
  Details
screenshot : thumbnails in the background capplet (21.13 KB, image/png)
2005-05-25 18:25 UTC, Vincent Noel
  Details
patch that fixes the dnd issue (not the treeview one), but looks and smells like a bad hack (1.21 KB, patch)
2005-06-01 23:06 UTC, Carlos Garnacho
rejected Details | Review
These things in the treeview should be plain color squares... (39.30 KB, image/png)
2005-06-30 19:56 UTC, Carlos Garnacho
  Details

Description Vincent Noel 2005-05-25 18:23:18 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 ???
Comment 1 Vincent Noel 2005-05-25 18:23:52 UTC
Created attachment 46881 [details]
screenshot : drag-n-dropping a folder in nautilus
Comment 2 Vincent Noel 2005-05-25 18:24:14 UTC
Created attachment 46882 [details]
screenshot : drag-n-dropping a thumnailed image in nautilus
Comment 3 Vincent Noel 2005-05-25 18:25:19 UTC
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.
Comment 4 Carlos Garnacho 2005-06-01 23:01:55 UTC
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...
Comment 5 Carlos Garnacho 2005-06-01 23:06:26 UTC
Created attachment 47119 [details] [review]
patch that fixes the dnd issue (not the treeview one), but looks and smells like a bad hack
Comment 6 Vincent Noel 2005-06-08 19:28:53 UTC
I tried the patch and indeed it works - the reasons why are less clear ;-)
Comment 7 Matthias Clasen 2005-06-24 01:45:19 UTC
Do you still see this with 2.7.0 and cairo 0.5.1 ?
Comment 8 Carlos Garnacho 2005-06-24 15:22:17 UTC
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)
Comment 9 Vincent Noel 2005-06-24 16:20:56 UTC
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. 
Comment 10 Matthias Clasen 2005-06-24 16:45:24 UTC
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 ?
Comment 11 Vincent Noel 2005-06-24 17:39:38 UTC
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.
Comment 12 Carlos Garnacho 2005-06-25 19:19:50 UTC
Same here, i386 arch and XFree 4.3.0 too
Comment 13 Matthias Clasen 2005-06-30 19:19:31 UTC
Do you still see this with cvs cairo ? Owen expanded his workaround to also
trigger on older XFree86.
Comment 14 Carlos Garnacho 2005-06-30 19:54:38 UTC
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
Comment 15 Carlos Garnacho 2005-06-30 19:56:03 UTC
Created attachment 48470 [details]
These things in the treeview should be plain color squares...
Comment 16 Vincent Noel 2005-07-05 16:58:06 UTC
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.
Comment 17 Owen Taylor 2005-07-05 20:01:39 UTC
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 :-()
Comment 18 Vincent Noel 2005-07-21 16:00:07 UTC
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...