** Changed in: gdk-pixbuf
Status: New => Fix Released
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gdk-pixbuf in Ubuntu.
https://bugs.launchpad.net/bugs/777011
Title:
gdk-pixbuf uses temporary files when loading xpm images
Status in pixbuf library for gtk+:
Fix Released
Status in “gdk-pixbuf” package in Ubuntu:
New
Bug description:
io-xpm.c:gdk_pixbuf__xpm_image_begin_load() has the following comment:
/*
* FIXME xpm loading progressively is not properly implemented.
* Instead we will buffer to a file then load that file when done.
* This is very broken but it should be relayively simple to fix
* in the future.
*/
What this actually means is that gdk creates a file in /tmp, writes to
it, and then deletes it *every* time you do any of the following in a
gnome/Unity environment:
- click a mouse button anywhere (any app, any window)
- scroll a mouse wheel anywhere (any app, any window)
Additionally, if you move your mouse to top-left or bottom-right of
the screen *and just hold it there*, files will be created, modified
and then deleted continuously.
Clearly, this is a nasty hack and temporary files are evil at the best
of times. If you have slow disks, your desktop experience may also
suffer.
Temp files are created using g_file_open_tmp():
fd = g_file_open_tmp ("gdkpixbuf-xpm-tmp.XXXXXX", &context->tempname,
NULL);
This template expands to file names like "/tmp/gdkpixbuf-xpm-
tmp.UV9WUV".
Pressing the Windows/meta button to get the Unity search box to appear
generates approximately 60 temporary files (!!)
To manage notifications about this bug go to:
https://bugs.launchpad.net/gdk-pixbuf/+bug/777011/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp