Bug 82469 - FILESAVE: Comments inconsistently saved in .docx file (some save method keeps comments, other data loss comments)
Summary: FILESAVE: Comments inconsistently saved in .docx file (some save method keeps...
Status: RESOLVED DUPLICATE of bug 68604
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.3.0.4 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-11 17:29 UTC by litwol
Modified: 2014-09-30 19:19 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 litwol 2014-08-11 17:29:17 UTC
All data loss reports with (non-)saved comments deal point out that .docx file loses comments consistently.

I have discovered that this behavior is inconsistent and there is a method to save new comments, prevent loss of old comments, etc. This method is very consistent which makes me think that reliable comments saving functionality exists in LibreOffice, and it just needs to be made available to all file save workflows.


Here are reproducible steps to cause comment LOSS:
1) create new, or open existing, .docx file (2007+ xml format)
2) Insert comment anywhere you choose, with or without highlighting block of text comment applies to (neither matter, only comment itself matters).
3) Populate comment content to be non-empty.
4) save document using either pressing save (floppy!) button, or press CTRL+s.
5) close document after it was saved (make sure you do NOT get prompt to save document again, if you do then you did not save the document using method in step 4.. you MUST save this way).
6) Open document again.
7) EXPECTED RESULT: comment "block" appears, comment "content" is lost/empty. Opening this document in libreoffice and microsoft word will be the same: no comment content available.



Here are reproducible steps to cause comment be RELIABLY SAVED:
1) create new, or open existing, .docx file (2007+ xml format)
2) Insert comment anywhere you choose, with or without highlighting block of text comment applies to (neither matter, only comment itself matters).
3) Populate comment content to be non-empty.
4) IMPORTANT IMPORTANT IMPORTANT: do NOT save document using "standard" methods. do NOT click save (floppy) button. do NOT press CTRL+s. do nothing here. just. don't. save.
5) BEGIN closing UNSAVED document. Close document using either method: CTRL-w, or File -> Close, or CTRL-q, or File > Exit LibreOffice.
6) IMPORTANT IMPORTANT IMPORTANT: You are now prompted with "Save document?" popup. press SAVE.
7) Document/libreoffice is now closed.
8) open document again.
9) Expected result: inserted comments are retained. No data loss occured.


Bonus reliably reproducible results:
/saving/ document before closing will always result in comments loss, but only NEW comments addition or changes. Old comments will not be broken by saving (ctrl-s, file > save) the document, only new!!. to reliably save comments always use the close document / exit libreoffice method, and use "Save" button at the quit prompt.
Comment 1 tommy27 2014-09-30 19:19:57 UTC
it looks the same issue already reported below

*** This bug has been marked as a duplicate of bug 68604 ***