GNOME Bugzilla – Bug 50080
gdk_pixbuf_get_from_drawable() is hosed
Last modified: 2010-07-10 04:06:25 UTC
This function has a whole slew of issues, read gtk-devel-list post
Put all GTK 1.3.x bugs on 2.0.0 milestone
Setting API-affecting bugs to the API freeze milestone
I'm unable to find the gtk-devel-list post dealing with the problems with this function. Does anyone want to list them here, or put a pointer to the post. Problems that I've run into include: * Unable to get partial pixbufs when the region requested is outside the area of the drawable * Unable to get a when the drawable is obscured by another window (to get the backing pixmap, as an example)
Here is a post from owen about this: http://lists.gnome.org/archives/gtk-devel-list/2000-December/msg00125.html
And from Tim: http://mail.gnome.org/archives/gtk-devel-list/2001-January/msg00076.html
I'm trying to fix this, just so I can play martyr.
2001-06-28 Havoc Pennington <hp@pobox.com> * gdk/x11/gdkimage-x11.c (_gdk_x11_get_image): Clip the retrieved image data to the screen, using a server grab to avoid race conditions. Along with a lot of other changes. Further API changes shouldn't be needed in any case.