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 50080 - gdk_pixbuf_get_from_drawable() is hosed
gdk_pixbuf_get_from_drawable() is hosed
Status: RESOLVED FIXED
Product: gdk-pixbuf
Classification: Platform
Component: general
git master
Other All
: Normal normal
: ---
Assigned To: Owen Taylor
Owen Taylor
Depends on:
Blocks:
 
 
Reported: 2000-12-15 23:43 UTC by Havoc Pennington
Modified: 2010-07-10 04:06 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Havoc Pennington 2000-12-15 23:43:22 UTC
This function has a whole slew of issues, read gtk-devel-list post
Comment 1 Havoc Pennington 2001-01-29 19:40:13 UTC
Put all GTK 1.3.x bugs on 2.0.0 milestone
Comment 2 Havoc Pennington 2001-01-29 19:50:00 UTC
Setting API-affecting bugs to the API freeze milestone
Comment 3 Jonathan Blandford 2001-03-23 07:17:00 UTC
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)
Comment 4 Alexander Larsson 2001-03-26 16:35:55 UTC
Here is a post from owen about this:

http://lists.gnome.org/archives/gtk-devel-list/2000-December/msg00125.html
Comment 6 Havoc Pennington 2001-05-05 22:16:49 UTC
I'm trying to fix this, just so I can play martyr.
Comment 7 Owen Taylor 2001-06-29 03:08:15 UTC
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.