Red Hat Bugzilla – Bug 985887
Thumbnail OneDrive entries once they are loaded
Last modified: 2017-08-01 06:01:37 EDT
Description of problem:
Google nor SkyDrive documents does not have thumbnails of actual content, only according to the file type
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Have some Google or SkyDrive documents visible in Gnome Documents
thumbnails according to file types
thumbnails according to actual contents
Am I right in guessing that you don't have any local documents (~/Documents), and you only have Google or SkyDrive ones?
Unlike Google, the SkyDrive API  only offers server side thumbnails for photos and videos. See: http://msdn.microsoft.com/en-us/library/live/hh826522.aspx#reading_photos_videos_props
The SkyDrive Web UI does show thumbnails for some Microsoft Office formatted documents (eg., .doc, .docx), but I could not find a way to download those from their REST API.
We could create the thumbnails locally for those documents that the user has downloaded for viewing from the local cache, but that would be a more intrusive change. I am not very comfortable about pushing such a thing into RHEL7 now.
I have now built gnome-documents-3.8.5-1.el7 which should fix this:
Using gnome-documents-3.8.5-3.el7.x86_64 thumbnails for Google Documents works, but for Microsoft SkyDrive doesn't.
(In reply to Martin Holec from comment #6)
> Using gnome-documents-3.8.5-3.el7.x86_64 thumbnails for Google Documents
> works, but for Microsoft SkyDrive doesn't.
As mentioned in comment 2, there is no easy way to thumbnail SkyDrive content. I am not comfortable with such an intrusive change in RHEL7 at this point.
Issue still present on gnome-documents-3.14.3-2.el7.x86_64.rpm.
I have built gnome-documents-3.22.2-1.el7, and gnome-online-miners-3.22.0-2.el7:
(In reply to Debarshi Ray from comment #2)
> Unlike Google, the SkyDrive API  only offers server side thumbnails for
> photos and videos. See:
> The SkyDrive Web UI does show thumbnails for some Microsoft Office formatted
> documents (eg., .doc, .docx), but I could not find a way to download those
> from their REST API.
> We could create the thumbnails locally for those documents that the user has
> downloaded for viewing from the local cache, but that would be a more
> intrusive change. I am not very comfortable about pushing such a thing into
> RHEL7 now.
I am looking now at version gnome-documents-3.22.2-2.el7.x86_64,
and for me this is working for pdfs only. In case of Google documents other document format are being previewed too. So should it work only for pdfs for reasons described in your comment ?
Created attachment 1273318 [details]
(In reply to Martin Krajnak from comment #16)
> I am looking now at version gnome-documents-3.22.2-2.el7.x86_64,
> and for me this is working for pdfs only. In case of Google documents other
> document format are being previewed too. So should it work only for pdfs for
> reasons described in your comment ?
Thanks for testing it out!
The problem is that for oneDrive we are generating the thumbnails on the client-side, just like any local file, and we don't have a thumbnailer for ODFs, OOXMLs, etc.. We only have a thumbnailer for formats like PDF, PS, etc..
For Google, we get thumbnails from the server. That's why it works for a wider range of MIME types.
The thumbnails ale working properly for pdf documents on x86_64, ppc64le and aarch64. Thumbnails for other document formats on One drive are no available because on reasons described by Debarshi in comment 16.
I wasn't able to test s390x and ppc64 version because of issues with webkit on big endian architectures which prevent me from logging to one drive account.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.