Bug 155292 - FILESAVE: Undoing all changes made in a Writer comment leaves the document marked as needing saving
Summary: FILESAVE: Undoing all changes made in a Writer comment leaves the document ma...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All Linux (All)
: low minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Undo-Redo Writer-Comments ModifiedStatus
  Show dependency treegraph
 
Reported: 2023-05-14 08:16 UTC by Luke Kendall
Modified: 2023-07-24 12:53 UTC (History)
3 users (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 Luke Kendall 2023-05-14 08:16:28 UTC
1. Have a document that is saved, but which has a comment.
2. Edit the comment. Note that the document is marked as "Needs save".
3. Undo all edits to the comment.

Result:

Document is still marked as "Needs save".

Version: 7.5.2.2 (X86_64) / LibreOffice Community
Build ID: 53bb9681a964705cf672590721dbc85eb4d0c3a2
CPU threads: 8; OS: Linux 5.18; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded
Comment 1 Buovjaga 2023-05-17 13:23:08 UTC
Repro already in 5.2 and 3.5.

Arch Linux 64-bit, X11
Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 85a47bbb8340e65a19dc1ceaac768902a771ee77
CPU threads: 8; OS: Linux 6.3; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 17 May 2023
Comment 2 Justin L 2023-07-19 15:03:36 UTC

*** This bug has been marked as a duplicate of bug 86821 ***
Comment 3 Stéphane Guillou (stragu) 2023-07-24 12:51:04 UTC
This is still reproduced in:

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 94caaf5c9e2917a3202cf515d61eaa9399b2c2b5
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

I am marking again as "new" as this is specific to comments.
You can try with:

1. Create a new document with some body text and some comment text
2. Save it
3. Make some body text bold, then undo.

Result: modified status is reset.

2. Make some comment text bold, then undo.

Result: modified status is not reset.

Bug 86821 is not specific to comments, but is about Calc and should be itself a duplicate of bug 69972.
Comment 4 Stéphane Guillou (stragu) 2023-07-24 12:53:12 UTC
Same in OOo 3.3 (tested with closing the document), so marking as inherited.