Check if a LibreOffice 5 installation is available and disabled loviewer when it is not

Bug #1498860 reported by Stefano Verzegnassi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Document Viewer App
Fix Released
Undecided
Unassigned

Bug Description

Currently we don't handle any exception in the Libreoffice plugin.

We should check that the path specified for lok::lok_cpp_init() exists[1][2], and s_office[1] has been properly initialized.
If not, docviewer should show a Dialog, which warns the user of the error and suggest to install LibreOffice 5 on his desktop.

(On devices we'll provide LibreOffice inside the docviewer package, so no error will be prompted. See [3].)

[1]: http://bazaar.launchpad.net/~verzegnassi-stefano/ubuntu-docviewer-app/reboot-lok-qsg-zoom/view/head:/src/plugin/libreofficetoolkit-qml-plugin/lodocument.cpp
[2]: http://bazaar.launchpad.net/~verzegnassi-stefano/ubuntu-docviewer-app/reboot-lok-qsg-zoom/view/head:/src/plugin/libreofficetoolkit-qml-plugin/config.h
[3]: https://code.launchpad.net/~verzegnassi-stefano/ubuntu-docviewer-app/get-click-deps

Tags: loviewer
tags: added: loviewer
removed: libreoffice-viewer
Changed in ubuntu-docviewer-app:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.