https://bugs.freedesktop.org/show_bug.cgi?id=77070

          Priority: medium
            Bug ID: 77070
          Assignee: libreoffice-bugs@lists.freedesktop.org
           Summary: Other: Files that are Opened Read-only, can't be Saved
                    Directly after a Recovery
          Severity: normal
    Classification: Unclassified
                OS: Windows (All)
          Reporter: harald.koes...@mail.de
          Hardware: Other
        Whiteboard: BSA
            Status: UNCONFIRMED
           Version: 4.2.2.1 release
         Component: Libreoffice
           Product: LibreOffice

Problem description: 

Steps to reproduce:
[1] Start LibreOffice and create a new text document.
[2] Enable option “Load/Save > General > Save > Save AutoRecovery information”
and set time period to 1 minute.
[3] 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.
[4] Insert some text and save the document as a new file.
[5] Close file and reopen it again. This step is necessary due to bug 48606.
[6] Activate file property “Security > Open file read-only”.
[7] Save the document.
[8] Close and reopen document again. File is opened in read-only mode.
[9] Change to edit mode.
[10] Insert some more text and wait until the AutoRecovery information is
saved. On my system there is a short flickering of the LibreOffice window.
[11] 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.
[12] Restart LibreOffice. The recovery dialogue is opened.
[13] 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.
[14] 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: 4.2.2.1 release

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to