GNOME Bugzilla – Bug 698315
google docs not getting thumbnailed
Last modified: 2017-03-27 18:51:13 UTC
Even after opening up a document from google drive, I'm not getting the document thumbnailed when returning to the overview. I get the fallback mimetype icon instead. Testing on F19
Created attachment 246153 [details] [review] documents: Show thumbnails for Google Documents
Review of attachment 246153 [details] [review]: Thanks! This looks great, I just have one minor comment. Feel free to push with that change. ::: src/documents.js @@ +359,3 @@ }, + createIcon: function(callback) { Can you rename this to createThumbnail() instead?
(In reply to comment #2) > Review of attachment 246153 [details] [review]: > > Thanks! This looks great, I just have one minor comment. Feel free to push with > that change. > > ::: src/documents.js > @@ +359,3 @@ > }, > > + createIcon: function(callback) { > > Can you rename this to createThumbnail() instead? Done.
Created attachment 246237 [details] [review] documents: Show thumbnails for Google Documents
Thanks for the review. Does it make sense to have it in gnome-3-8 given that the bug was filed against it?
Since you backported the gvfs patch as well, I think it does. Feel free to push there as well.
On a freshly installed system where ~/.cache/thumbnails/normal doesn't exist and there is no local content, creation of thumbnails for Google documents will fail. This is because we are not creating the directory before trying to download the thumbnails.
Created attachment 257832 [details] [review] documents: The directory must exist before we fetch the thumbnail
Review of attachment 257832 [details] [review]: Makes sense to me.
Comment on attachment 257832 [details] [review] documents: The directory must exist before we fetch the thumbnail Thanks for the review!