[Libreoffice-bugs] [Bug 119601] New: When writer is not installed, LibreOffice tries document recovery on good documents
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Thu Aug 30 08:22:27 UTC 2018
https://bugs.documentfoundation.org/show_bug.cgi?id=119601
Bug ID: 119601
Summary: When writer is not installed, LibreOffice tries
document recovery on good documents
Product: LibreOffice
Version: 6.0.3.2 release
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
Severity: minor
Priority: medium
Component: LibreOffice
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: marco at hulten.org
Description:
On Ubuntu 18.04, I installed 'libreoffice-impress', which installed the
'libreoffice' binary among other things. If I then open some document, say
$ libreoffice document.docx
, it starts to try to recover the document. This fails and LibreOffice exits
(with exit code 0). After confusion, I find out that libreoffice-writer is not
installed, so I install that package, and the document can be opened without
problems.
(In the case of an ODT file, or a plain-text file, the Document Recovery dialog
is also opened, but it does not try to recover the file that you try to open.
LibreOffice is running without any documents yet opened.)
Instead of trying to open/recover a document that cannot be opened (because the
right LibreOffice component is not installed), it would be better if the header
of the file is interpreted and a proper error message is displayed, e.g.
Cannot open document.docx, because the writer component is missing.
Steps to Reproduce:
1. Install a LibreOffice component, but not writer;
2. try to open a text document with the command 'libreoffice'.
Actual Results:
Document Recovery is started. Recovery fails.
Expected Results:
An informative error message should be thrown.
Reproducible: Always
User Profile Reset: Yes
Additional Info:
$ libreoffice --version
LibreOffice 6.0.3.2 00m0(Build:2)
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180830/f578e4e4/attachment.html>
More information about the Libreoffice-bugs
mailing list