Steps to reproduce:
 Start LibreOffice and create a new text document.
 Enable option “Load/Save > General > Save > Save AutoRecovery information” and set time period to 1 minute.
 If enabled disable option “Load/Save > General > Save > Automatically save the document too”. Due to bug 76950, you have to close and restart LibreOffice again if you change this option.
 Insert some text and save the document as a new file.
 Close file and reopen it again. This step is necessary due to bug 48606.
 Activate file property “Security > Open file read-only”.
 Save the document.
 Close and reopen document again. File is opened in read-only mode.
 Change to edit mode.
 Insert some more text and wait until the AutoRecovery information is saved. On my system there is a short flickering of the LibreOffice window.
 Force LibreOffice to close with the Task Manager, in order to simulate a LO crash. Ignore the “Save document?” dialogue and wait until the Windows dialogue is opened. Click the button to end LibreOffice in the Windows dialogue.
 Restart LibreOffice. The recovery dialogue is opened.
 Click “Start Recovery >”. The file will be recovered. Click “Finish” in order to view the recovered document. The document is displayed in read-only mode.
 Try to save the recovered document by:
(a) The cross “Close Document” in the upper right corner: Save dialogue is opened. Click “Save”. Dialogue is closed. The document is still displayed and the file is not saved: Expected: Document should be saved and closed.
(b) The red cross in the upper right corner in order to save the file and close LibreOffice. Click “Save”. Dialogue is closed. LibreOffice is still active, the document is still displayed and the file is not saved: Expected: Document should be saved and closed, LibreOffice should be closed.
(c) The menu with “Save”: “Save” is greyed and hence not possible.
(d) The menu with “Save as...”. The “Save as” dialogue is opened. Don't change the file name and click “Save”. A dialogue is opened and you are asked to replace an existing file. Click “Yes”. An error message is displayed, that a read-only document can't be saved.
After some trying I found 2 possibilities to save a recovered read-only document: Change to “Edit mode” or save the document under a different file name. But anyway I think in a recovery situation there should always be an immediate and easy way to save a recovered document.
Another solution for this problem may be to open the recovered document in “Edit mode”. Then the editing state would be identical before the crash happens besides the changes after the last saving of the recovery information.
Operating System: Windows 7
Version: 188.8.131.52 release
in LO 4.4 is new Edit/Read-only mode dialog, see https://wiki.documentfoundation.org/ReleaseNotes/4.4#Edit_.2F_Read-only_mode .
Is it solution for your bug?
(In reply to raal from comment #1)
> Hello Harald,
> in LO 4.4 is new Edit/Read-only mode dialog, see
> Is it solution for your bug?
Status -> NEEDINFO
I checked this bug again with 4.4.3 (Win7). It still exists!
The change in LO 4.4 is only a change of the GUI, but not a functional change.
To my opinion this bug is not only an enhancement. In a situation after a crash and the following recovery a user allways should be able to save his document immediately and an in easy way in order to avoid a loss of data. This is not the case if the documents property is set to "Open read-only". Hence status set back to UNCONFIRMED.
what about 184.108.40.206?
Checked again with 220.127.116.11 (Win 7). Bug still exists.
There is no bug here because the only mean to save a file opened in read-only mode is to switch in edit mode or to save under another name. So if you configure LO to always open files in read-only mode, it does what you are asking him, even when it recovers a document after a crash.
Closing as NotABug.
Feel free to reopen if you disagree. In such a case, please argue.
Best regards. JBF