Description: I often need to consult old reference Writer documents. On opening, I get a dialogue, "Template has been modified". I click Keep Old Styles, but the document is marked as modified (orange dot on the Save icon) immediately it appears. When I exit, I annoyingly get the "Save document?" dialogue. I DO NOT want to change the document because its Modify date may be important. Is it possible to not modify the document if that is what I intend? Steps to Reproduce: 1.Find an old document 2.Change the template 3.Open the document, selecting Keep Old Styles from the Template Changed dialogue 4.Notice the document is marked as modified. Actual Results: The "Save document?" dialogue appears on exit, even though the document has not been changed. Expected Results: You should be able to exit with being prompted to save. Reproducible: Always User Profile Reset: Yes Additional Info: Exit immediately when the document has not been changed.
If I get your description correctly you first changed the template of the old document. This was a change of the document. And if you select keep old styles, didn't you go back to a template version before your changed template? Your report needs more info about the steps to reproduce. You should also submit a test document without personal data. Please try out also a current version of LibreOffice (7.5.x).
Dear Wungsten, This bug has been in NEEDINFO status with no change for at least 6 months. Please provide the requested information as soon as possible and mark the bug as UNCONFIRMED. Due to regular bug tracker maintenance, if the bug is still in NEEDINFO status with no change in 30 days the QA team will close the bug as INSUFFICIENTDATA due to lack of needed information. For more information about our NEEDINFO policy please read the wiki located here: https://wiki.documentfoundation.org/QA/Bugzilla/Fields/Status/NEEDINFO If you have already provided the requested information, please mark the bug as UNCONFIRMED so that the QA team knows that the bug is ready to be confirmed. Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-NeedInfo-Ping
We seem to differ on whether this is a bug or a feature. However, please try this: 1. Create a new test template. 2. Create a new document from the test template. 3. Save the new document and close Writer. 4. Change the test template and close Writer. 5. Open the document. You get a dialogue saying, "The template 'Default' ...". Note that the template name is INCORRECT. 6. Click 'Keep old styles'. Note that the document is marked as Modified, even though no changes are visible. Don't save the document, just close Writer. 7. Repeat step 6. 8. This time click 'Update Styles'. Note that the document is marked as Modified, even though no changes are visible - changes made to the template in step 4 are NOT applied. Maybe I am confused about the precise meaning of 'Styles' in this context. Nevertheless, it seems wrong that the document is marked as Modified, even though no changes are visible.
(In reply to Wungsten from comment #0) > Steps to Reproduce: > 1.Find an old document > 2.Change the template > 3.Open the document, selecting Keep Old Styles from the Template Changed > dialogue > 4.Notice the document is marked as modified. Not reproduced. Document is *not* marked as modified after keeping old styles. (In reply to Wungsten from comment #3) > We seem to differ on whether this is a bug or a feature. However, please try > this: > 1. Create a new test template. > 2. Create a new document from the test template. > 3. Save the new document and close Writer. > 4. Change the test template and close Writer. > 5. Open the document. You get a dialogue saying, "The template 'Default' > ...". Note that the template name is INCORRECT. Template name is correct for me. > 6. Click 'Keep old styles'. Note that the document is marked as Modified, > even though no changes are visible. Don't save the document, just close > Writer. > 7. Repeat step 6. > 8. This time click 'Update Styles'. Note that the document is marked as > Modified, even though no changes are visible - changes made to the template > in step 4 are NOT applied. After selecting Update Styles, changes *are* visible. I tested with a template where the default paragraph was set to have a red background and during the testing I changed the background to None. The template was in a directory defined in Tools - Options - LibreOffice - Paths, so the style update dialog is triggered. Maybe there was a fix? Wungsten: can you reproduce with 25.2? Arch Linux 64-bit Version: 25.2.4.3 (X86_64) / LibreOffice Community Build ID: 520(Build:3) CPU threads: 8; OS: Linux 6.14; UI render: default; VCL: kf6 (cairo+wayland) Locale: fi-FI (fi_FI.UTF-8); UI: en-US 25.2.4-1 Calc: threaded
Using Writer v.25.2.4.3 I have followed the trial in Comment 4 (https://bugs.documentfoundation.org/show_bug.cgi?id=156811#c4) and found: The reported template in any document (File → Properties → General) is still wrong, it seems to always report 'default'. The 'template has been modified' dialogue appeared (with the wrong template name, as above), but Keep Old Styles worked as expected. I found that the Update Styles option DOES update the available styles, without changing existing content and the document is NOT marked as Updated - although when changes are made, the new style(s) are used consistently throughout the document. (As I remarked earlier, I was confused about the meaning of Styles here.) Maybe the wrong template name should be the subject of a separate bug. Then I would be happy for this to be closed.
(In reply to Wungsten from comment #5) > Using Writer v.25.2.4.3 > > I have followed the trial in Comment 4 > (https://bugs.documentfoundation.org/show_bug.cgi?id=156811#c4) and found: > > The reported template in any document (File → Properties → General) is still > wrong, it seems to always report 'default'. ... > Maybe the wrong template name should be the subject of a separate bug. Then > I would be happy for this to be closed. Maybe. For me it shows correctly in File properties, so you might also test with a fresh document before reporting.