GNOME Bugzilla – Bug 675168
prepare for thumbnails to move to XDG_CACHE_HOME
Last modified: 2014-01-08 13:08:43 UTC
We are in the process of updating the Thumbnail spec to change the cache location from ~/.thumbnails -> $XDG_CACHE_HOME/thumbnails. ./glib/gio/glocalfileinfo.c needs to be updated.
Created attachment 213121 [details] [review] Update to use XDG cache home for thumbnails
Review of attachment 213121 [details] [review]: Should we check for the existence of ~/.cache/thumbnails and fall back if it doesn't exist ?
(In reply to comment #2) > Review of attachment 213121 [details] [review]: > > Should we check for the existence of ~/.cache/thumbnails and fall back if it > doesn't exist ? I guess this depends on whether we end up migrating existing thumbnails to the new location or not. Since the gnome-desktop patch doesn't seem to do it, we should probably fall back...it would also make things work better in case mixed versions of gnome-desktop and glib are used.
I decided to keep it simple for now and just push the patch as-is
Rygel (with MediaExport backend) is now basically broken because * GLib tells Rygel the thumbnail does not exist * Rygel tells Tumbler to generate the thumbnail * Tumbler will re-generate the thumbnail in a location where GLib (and by extension Rygel) won't find it So we're burning a lot of cycles and still not showing any thumbnails :( Was there any plan on how systems should have been upgraded? Are distros supposed to do symlinks ($HOME/.thumbnails -> $XDG_USER_CACHE/thumbnails) until all software is updated to the new directory, or where do I need to file bugs about it?