[Libreoffice-bugs] [Bug 117895] New: "Edit document properties before saving" option leaves just-saved document modified; changes are not saved

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed May 30 07:27:08 UTC 2018


https://bugs.documentfoundation.org/show_bug.cgi?id=117895

            Bug ID: 117895
           Summary: "Edit document properties before saving" option leaves
                    just-saved document modified; changes are not saved
           Product: LibreOffice
           Version: 6.1.0.0.alpha0+
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: bibisected, bisected, regression
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: mikekaganski at hotmail.com
                CC: hcastro at collabora.com, kendy at collabora.com

Using Options->Load/Save->General->Edit document properties before saving,
modifying the settings and confirming the changes using OK leaves the
just-saved document in modified state, and the changes made in the dialog are
not saved in the file.

0. Enable the mentioned setting.
1. Create a new document (e.g., a Writer document).
2. Save (Ctrl+S) and choose a file name.
3. In the automatically opened `Properties of "Untitled 1"` dialog, go to
Security tab, and check `Open file read-only` checkbox; click OK to close the
dialog.
4. See that the document is in modified state: e.g., in status bar.
5. Close the document (see that "Your changes will be lost" warning shown;
click Cancel to not save).
6. Reopen the document; see that it is opened in read-write mode.

This is regression from
https://cgit.freedesktop.org/libreoffice/core/commit/?id=0950917b9514069e8dbf92b9c0fbd44b492a7cd1

and the problem is in ModelData_Impl::ShowDocumentInfoDialog() which now
returns without waiting for the dialog finished.

-- 
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/20180530/5ec025cd/attachment-0001.html>


More information about the Libreoffice-bugs mailing list