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 314086 - gtk_clipboard_request_image () only handles png or jpeg
gtk_clipboard_request_image () only handles png or jpeg
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
2.6.x
Other All
: Normal enhancement
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2005-08-21 14:11 UTC by Mark Wielaard
Modified: 2005-08-24 17:02 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Mark Wielaard 2005-08-21 14:11:46 UTC
When an application publishes an image in any other format that gdkpixbuf
understands gtk_clipboard_request_image () just ignores it.

This is most notably a problem with images that are published by OpenOffice.org
which are in bmp format.

There seems to be support for handling image/gif in request_image_received_func
() but when such an image is provided it calls gtk_clipboard_request_contents ()
with request_text_received_func () as callback instead of
request_image_received_func () so this always fails.
Comment 1 Matthias Clasen 2005-08-24 17:02:09 UTC
	* gtk/gtkclipboard.c (request_image_received_func): Use the correct
	callback for image/gif, and also try image/bmp.  (#314086,  Mark 
	Wielaard)