Bug 156811 - Document wrongly marked as modified, only because template has changed.
Summary: Document wrongly marked as modified, only because template has changed.
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.3.7.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-18 14:50 UTC by Wungsten
Modified: 2024-02-17 10:32 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wungsten 2023-08-18 14:50:56 UTC
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.
Comment 1 Andreas Mantke 2023-08-20 15:21:29 UTC
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).
Comment 2 QA Administrators 2024-02-17 03:13:13 UTC Comment hidden (obsolete)
Comment 3 Wungsten 2024-02-17 08:25:07 UTC
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.