When I open a document with 'libreoffice --view', no .~lock.* file is created, as expected. When I then send a KILL signal to libreoffice, still no files there. When I then open the document, a recovery window pops up.
I don't understand why this happens. If a document is opened in viewer mode, recovery mode is not sensible, I think.
(Rationale for killing the window: I only use LibreOffice in read-only mode akin to how one would use a PDF viewer, and there is no shortkey to close a document—Ctrl-Q closes all documents.)
Thanks for reporting this.
Could you please include additional information regarding your LibreOffice environment to help us be able to address this report?
To get the relevant information, click on the "Help" menu at the top of the window, then click on the "About LibreOffice" menu option.
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested information is provided.
Build ID: 40(Build:2)
CPU threads: 2; OS: Linux 5.4; UI render: default; VCL: gtk3;
Locale: nb-NO (en_US.utf8); UI-Language: en-US
I am running GNU Guix.
The issue persists in this slightly newer version as well.
For some reason I don't get the recovery window.
Btw., you can Ctrl-W to close a document even after --view, but then any further documents you open will create the lock file.
Arch Linux 64-bit
Build ID: bb64b19e3e8942e610db2d3596d859f7c7864811
CPU threads: 8; OS: Linux 5.8; UI render: default; VCL: kf5
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Built on 5 September 2020
Could you please try to reproduce it with the latest version of LibreOffice from https://www.libreoffice.org/download/libreoffice-fresh/ ?
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the latest version.
Dear Marco van Hulten,
This bug has been in NEEDINFO status with no change for at least
6 months. Please provide the requested information as soon as
possible and mark the bug as UNCONFIRMED. Due to regular bug
tracker maintenance, if the bug is still in NEEDINFO status with
no change in 30 days the QA team will close the bug as INSUFFICIENTDATA
due to lack of needed information.
For more information about our NEEDINFO policy please read the
wiki located here:
If you have already provided the requested information, please
mark the bug as UNCONFIRMED so that the QA team knows that the
bug is ready to be confirmed.
Thank you for helping us make LibreOffice even better for everyone!
The problem still occurs. This time, instead of Guix, I used the LibreOffice 184.108.40.206 package with OpenBSD current. The actions:
libreoffice --view mydocument.odt &
pkill -9 soffice.bin
libreoffice --view mydocument.odt
The recovery window pops up.
Version: 220.127.116.11 / LibreOffice Community
Build ID: 30(Build:2)
CPU threads: 12; OS: Linux 5.15; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Ubuntu package version: 1:7.3.4-0ubuntu0.22.04.1
The Recovery dialog is shown after the file was opened in view mode.
NEW per last comment
*** This bug has been marked as a duplicate of bug 57414 ***