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@lists.freedesktop.org
          Reporter: mikekagan...@hotmail.com
                CC: hcas...@collabora.com, ke...@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.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to