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)
LibreOffice is not meant to have its "modules" be installed separately. I don't know, if this can be seen as a bug.
From a recent comment: https://bugs.documentfoundation.org/show_bug.cgi?id=102023#c5 (Quoting Matthias Lang) > In today's Debian testing, the 'libreoffice-writer' package can't be removed > without forcing dependencies, so the bug can't happen any more. I've marked > the bug as 'resolved-worksforme' because creating this situation seems to > have become harder since 2016 thanks to Debian fixing dependencies. So I think I will close.