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 698315 - google docs not getting thumbnailed
google docs not getting thumbnailed
Status: RESOLVED FIXED
Product: gnome-documents
Classification: Core
Component: general
3.8.x
Other All
: Normal enhancement
: ---
Assigned To: GNOME documents maintainer(s)
GNOME documents maintainer(s)
Depends on: 701714
Blocks:
 
 
Reported: 2013-04-18 16:04 UTC by Jakub Steiner
Modified: 2017-03-27 18:51 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
documents: Show thumbnails for Google Documents (5.09 KB, patch)
2013-06-06 12:21 UTC, Debarshi Ray
accepted-commit_now Details | Review
documents: Show thumbnails for Google Documents (5.13 KB, patch)
2013-06-07 09:57 UTC, Debarshi Ray
committed Details | Review
documents: The directory must exist before we fetch the thumbnail (1.18 KB, patch)
2013-10-22 10:13 UTC, Debarshi Ray
committed Details | Review

Description Jakub Steiner 2013-04-18 16:04:42 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
Comment 1 Debarshi Ray 2013-06-06 12:21:25 UTC
Created attachment 246153 [details] [review]
documents: Show thumbnails for Google Documents
Comment 2 Cosimo Cecchi 2013-06-06 21:33:50 UTC
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?
Comment 3 Debarshi Ray 2013-06-07 09:57:13 UTC
(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.
Comment 4 Debarshi Ray 2013-06-07 09:57:42 UTC
Created attachment 246237 [details] [review]
documents: Show thumbnails for Google Documents
Comment 5 Debarshi Ray 2013-06-07 09:59:34 UTC
Thanks for the review. Does it make sense to have it in gnome-3-8 given that the bug was filed against it?
Comment 6 Cosimo Cecchi 2013-06-07 14:06:39 UTC
Since you backported the gvfs patch as well, I think it does. Feel free to push there as well.
Comment 7 Debarshi Ray 2013-10-22 10:12:55 UTC
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.
Comment 8 Debarshi Ray 2013-10-22 10:13:33 UTC
Created attachment 257832 [details] [review]
documents: The directory must exist before we fetch the thumbnail
Comment 9 Cosimo Cecchi 2013-10-22 23:53:28 UTC
Review of attachment 257832 [details] [review]:

Makes sense to me.
Comment 10 Debarshi Ray 2013-10-23 09:23:49 UTC
Comment on attachment 257832 [details] [review]
documents: The directory must exist before we fetch the thumbnail

Thanks for the review!