<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - "Edit document properties before saving" option leaves just-saved document modified; changes are not saved"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=117895">117895</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>"Edit document properties before saving" option leaves just-saved document modified; changes are not saved
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>6.1.0.0.alpha0+
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Keywords</th>
<td>bibisected, bisected, regression
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>mikekaganski@hotmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>hcastro@collabora.com, kendy@collabora.com
</td>
</tr></table>
<p>
<div>
<pre>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
<a href="https://cgit.freedesktop.org/libreoffice/core/commit/?id=0950917b9514069e8dbf92b9c0fbd44b492a7cd1">https://cgit.freedesktop.org/libreoffice/core/commit/?id=0950917b9514069e8dbf92b9c0fbd44b492a7cd1</a>
and the problem is in ModelData_Impl::ShowDocumentInfoDialog() which now
returns without waiting for the dialog finished.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>