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 480608 - Thumbnails on desktop not showing
Thumbnails on desktop not showing
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: Thumbnails
2.20.x
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-09-26 14:02 UTC by Sebastien Bacher
Modified: 2007-10-02 13:31 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20



Description Sebastien Bacher 2007-09-26 14:02:28 UTC
The bug has been opened on https://bugs.launchpad.net/bugs/145212

"Binary package hint: nautilus

I am using gutsy. I have four image files on my desktop (jpeg and png). Sometimes Nautilus shows these as thumbnails, as it should. Sometimes they revert to the icon which usually means "thumbnail generation in progress" -- i.e. a document icon with an orange "timer" in the bottom corner.

If I do not click on the icon, the thumbnail will not return: the icons remain as the "in progress" icons indefinitely. In standard Nautilus folder windows, this is not a problem: although fetching the thumbnails is sometimes slow, they always arrive. The problem seems to be specific to the display of the desktop.

Even when the thumbnails are displayed for image files on the desktop, they sometimes revert to the "in progress" icon; and I don't know what triggers this."
Comment 1 Frederic Crozat 2007-09-26 14:06:14 UTC
confirming bug on mandriva cooker.
Comment 2 Bogdan Butnaru 2007-09-27 17:04:58 UTC
This happens for me too. You can add PDFs and movies to the list of files affected. (I think it's everything that has thumbnails.)
Comment 3 Christian Neumair 2007-09-27 17:21:30 UTC
Weird. Maybe the file attribute invalidation isn't propagated properly through the merged directory machinery.
Comment 4 Sebastien Bacher 2007-10-01 16:00:34 UTC
Anybody is working on that? The bug is not nice for GNOME since what everybody sees is the desktop and icons are broken there at the moment
Comment 5 Frederic Crozat 2007-10-01 17:39:16 UTC
This behaviour appears to be trigerred by system icon cache is regenerated (when installing/upgrading a package for instance).
Comment 6 Jan Larres 2007-10-02 02:00:20 UTC
This is not restricted to the Desktop, it can happen in any folder that is open at the time the cache is regenerated.
Comment 7 Frederic Crozat 2007-10-02 13:31:05 UTC
I was wrong, it was caused by calls to update-desktop-database.

Alex fixed it on gio branch, without knowning about this bug :)

I've backport his fix on both HEAD and gnome-2-20 branch with his approval :

2007-10-02  Frederic Crozat  <fcrozat@mandriva.com>

	Backport from gio-branch, fixes #480608, from 
	Alexander Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-icon-factory.c:
	Don't clear thumbnails and other absolute pathnames from icon
	cache when mime data or icon theme changes. This is to avoid
	flashing and async realoading of all thumbnails.

	* libnautilus-private/nautilus-directory-async.c:
	(mime_db_changed_callback):
	Use the right call to invalidate attributes, so that
	they get re-read correctly.