Bug 985887
| Summary: | Thumbnail OneDrive entries once they are loaded | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Martin Simon <msimon> | ||||
| Component: | gnome-documents | Assignee: | Debarshi Ray <debarshir> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Desktop QE <desktop-qa-list> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 7.0 | CC: | debarshir, dmach, mboisver, mclasen, mkrajnak, tpelka, vbenes, vbudikov | ||||
| Target Milestone: | alpha | ||||||
| Target Release: | 7.1 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | gnome-documents-3.22.2-1.el7 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2017-08-01 10:01:37 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Martin Simon
2013-07-18 12:41:59 UTC
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 [1] 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: https://brewweb.devel.redhat.com/taskinfo?taskID=6484134 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: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=12870003 https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=546573 (In reply to Debarshi Ray from comment #2) > Unlike Google, the SkyDrive API [1] 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 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]
ms_docs
(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. https://access.redhat.com/errata/RHBA-2017:2312 |