GNOME Bugzilla – Bug 688685
daemon: catch thumbnail files in large directory as well
Last modified: 2013-09-02 14:13:44 UTC
See bug 686895 against GIO for local files.
Created attachment 229416 [details] [review] daemon: Catch thumbnail files in large directory as well
The current mismatch in the behaviour for local and remote files is hurting applications that create thumbnails for both remote and local URIs. As described in the glib commit (d681b581ff059fdf258b6f91b62cf1e474f2cc71): "Failing to do this would cause an application that creates large thumbnails by default to never find any value for G_FILE_ATTRIBUTE_THUMBNAIL_PATH, with no G_FILE_ATTRIBUTE_THUMBNAILING_FAILED set, which might cause the application to either think thumbnailing is still in progress, or blindly requeue thumbnail operations in a loop." For example, the latest version of grilo-plugins gets you a larger sized thumbnail for Flickr content, and putting them in ~/.cache/thumbnails/large/... misleads gnome-photos into believing that the thumbnail could not be retrieved. I don't mind adding a separate GFile attribute for specifically fetching the large thumbnail path, but until we do that we should make the behaviour consistent for 3.10.
Review of attachment 229416 [details] [review]: ack
Comment on attachment 229416 [details] [review] daemon: Catch thumbnail files in large directory as well Pushed to master. Thanks for the review.