Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 985887

Summary: Thumbnail OneDrive entries once they are loaded
Product: Red Hat Enterprise Linux 7 Reporter: Martin Simon <msimon>
Component: gnome-documentsAssignee: Debarshi Ray <debarshir>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.0CC: 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 Flags
ms_docs none

Description Martin Simon 2013-07-18 12:41:59 UTC
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):
gnome-documents-3.8.3.1-1.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Have some Google or SkyDrive documents visible in Gnome Documents
2.
3.

Actual results:
thumbnails according to file types

Expected results:
thumbnails according to actual contents

Additional info:

Comment 1 Debarshi Ray 2013-10-21 16:44:19 UTC
Am I right in guessing that you don't have any local documents (~/Documents), and you only have Google or SkyDrive ones?

Comment 2 Debarshi Ray 2013-10-23 10:57:11 UTC
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.

Comment 3 Debarshi Ray 2013-10-30 10:08:47 UTC
I have now built gnome-documents-3.8.5-1.el7 which should fix this:
https://brewweb.devel.redhat.com/taskinfo?taskID=6484134

Comment 6 Martin 2014-01-30 12:53:22 UTC
Using gnome-documents-3.8.5-3.el7.x86_64 thumbnails for Google Documents works, but for Microsoft SkyDrive doesn't.

Comment 7 Debarshi Ray 2014-02-04 12:33:33 UTC
(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.

Comment 11 Michael Boisvert 2015-05-20 17:53:46 UTC
Issue still present on gnome-documents-3.14.3-2.el7.x86_64.rpm.

Comment 14 Debarshi Ray 2017-03-27 18:59:22 UTC
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

Comment 16 Martin Krajnak 2017-04-21 12:46:13 UTC
 (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 ?

Comment 17 Martin Krajnak 2017-04-21 12:47:14 UTC
Created attachment 1273318 [details]
ms_docs

Comment 18 Debarshi Ray 2017-04-24 13:22:08 UTC
(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.

Comment 19 Martin Krajnak 2017-06-14 13:40:12 UTC
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.

Comment 20 errata-xmlrpc 2017-08-01 10:01:37 UTC
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