Bug 1321380

Summary: Missing support for LibreOffice
Product: [Fedora] Fedora Reporter: Heiko Adams <bugzilla>
Component: gnome-documentsAssignee: Elad Alfassa <elad>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 24CC: ccecchi, debarshir, elad, fedoraparked, pranav913
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: gnome-documents-3.20.0-2.fc24 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-02 15:55:19 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:

Description Heiko Adams 2016-03-25 23:50:32 UTC
Description of problem:
gnome-documents is currently not possible to view LibreOffice documents. When trying to open such a file gnome-documents says LibreOffice support is not installed.

Version-Release number of selected component (if applicable):
$ rpm -q gnome-documents
gnome-documents-3.20.0-1.fc24.x86_64

How reproducible:
allways

Steps to Reproduce:
1. Open gnome-documents
2. Open a LO document
3.

Actual results:
LO document cant not be displayed because of missing LO support

Expected results:
LO documents should be displayed like any other document

Additional info:

Comment 1 Pranav Kant 2016-03-25 23:54:48 UTC
For LibreOffice support, LibreOffice is required to be installed, particularly the libreofficekit package in fedora.

Please check:

https://www.mail-archive.com/libreoffice@lists.freedesktop.org/msg164878.html

Comment 2 Heiko Adams 2016-03-26 09:37:18 UTC
Since LO *is* installed on my system, please tell me what's wrong or missing:
$ rpm -qa libreoffice\*
libreoffice-calc-5.1.1.3-2.fc24.x86_64
libreoffice-pdfimport-5.1.1.3-2.fc24.x86_64
libreoffice-langpack-de-5.1.1.3-2.fc24.x86_64
libreoffice-draw-5.1.1.3-2.fc24.x86_64
libreoffice-ure-5.1.1.3-2.fc24.x86_64
libreoffice-graphicfilter-5.1.1.3-2.fc24.x86_64
libreoffice-emailmerge-5.1.1.3-2.fc24.x86_64
libreoffice-filters-5.1.1.3-2.fc24.x86_64
libreoffice-pyuno-5.1.1.3-2.fc24.x86_64
libreoffice-math-5.1.1.3-2.fc24.x86_64
libreoffice-base-5.1.1.3-2.fc24.x86_64
libreoffice-writer-5.1.1.3-2.fc24.x86_64
libreoffice-5.1.1.3-2.fc24.x86_64
libreoffice-core-5.1.1.3-2.fc24.x86_64
libreoffice-gtk3-5.1.1.3-2.fc24.x86_64
libreoffice-impress-5.1.1.3-2.fc24.x86_64
libreoffice-opensymbol-fonts-5.1.1.3-2.fc24.noarch

Comment 3 Pranav Kant 2016-03-26 14:44:35 UTC
Aforementioned in Comment 1, you seem to be missing libreofficekit package. 

Please do 
dnf install libreofficekit

Comment 4 Heiko Adams 2016-03-26 14:55:33 UTC
That did the trick, thanks. But may I suggest adding libreofficekit as a weak dependency to gnome-documents?

Comment 5 Debarshi Ray 2016-03-29 13:04:00 UTC
Thanks for helping out, Pranav!

We should add some sort of dependency on libreofficekit to gnome-documents.spec. Even though the code using libreofficekit lives in the gnome-documents-libs sub-package, I think the dependency should be added to gnome-documents because gnome-books (the other app built from the sources) will not use those code paths.

Comment 6 Debarshi Ray 2016-03-29 13:04:23 UTC
*** Bug 1321479 has been marked as a duplicate of this bug. ***

Comment 7 Debarshi Ray 2016-03-29 13:08:12 UTC
I am currently leaning towards a simple 'Requires: libreofficekit' so that we can minimize the effort needed to maintain the "libreofficekit is missing" code path.

From #fedora-desktop on GIMPNet:

12:22 <rishi> kalev: Hey!
12:22 <rishi> Would it be an issue if I add "Requires: libreofficekit" to       
      gnome-documents.spec ? Or would it be better to handle it through comps?
12:25 <mclasen> doesn't it get pulled in automatically as a library dep ?
12:34 <kalev> rishi: hey, I don't think it would be an issue as we're           
      installing most of libreoffice by default anyway
12:54 <rishi> mclasen: No. For gnome-documents it is a purely JS dependency,    
      and, as far as I know, nothing else uses libreofficekit.
12:54 <rishi> kalev: Ok.

Comment 8 Fedora Update System 2016-03-29 13:31:12 UTC
gnome-documents-3.20.0-2.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-75000c10a2

Comment 9 Fedora Update System 2016-03-30 00:27:40 UTC
gnome-documents-3.20.0-2.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-75000c10a2

Comment 10 Fedora Update System 2016-04-02 15:55:16 UTC
gnome-documents-3.20.0-2.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.