Bug 105458 - ROUNDTRIP DOCX: Text within a comment isn't saved into DOCX
Summary: ROUNDTRIP DOCX: Text within a comment isn't saved into DOCX
Status: RESOLVED DUPLICATE of bug 68604
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.0.0.3 release
Hardware: All All
: medium critical
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: dataLoss
Depends on:
Blocks: DOCX-Comments
  Show dependency treegraph
 
Reported: 2017-01-20 22:50 UTC by Telesto
Modified: 2017-10-05 21:42 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Example file (4.71 KB, application/wps-office.docx)
2017-01-20 22:52 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2017-01-20 22:50:53 UTC
Description:
Text within a comment isn't saved (all the time)

Steps to Reproduce:
1.Open attached file
2.Add after AAA: 'BBB' (without quotes)
3.Save (CTRL+S)
4. Add after 'BBB': 'CCC' (without quotes)
5. Save again.
6. Close the document reopen it (text will be gone). Alternatively: Click File - Reload (A warning will popup that not everything is saved; save again and everything will be OK) 

Actual Results:  
Text withing comments isn't saved into docx

Expected Results:
Comments should be correctly saved


Reproducible: Always

User Profile Reset: No

Additional Info:
Found in:
Version: 5.4.0.0.alpha0+
Build ID: 99eed82939999d9a9689788a4134dd05d5c20c5a
CPU Threads: 4; OS Version: Windows 6.19; UI Render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2017-01-14_23:37:40
Locale: nl-NL (nl_NL); Calc: CL

and in
Versie 4.0.0.3 (Bouw-id: 7545bee9c2a0782548772a21bc84a9dcc583b89)


User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0
Comment 1 Telesto 2017-01-20 22:52:01 UTC
Created attachment 130587 [details]
Example file
Comment 2 Telesto 2017-01-20 22:58:13 UTC
Looks like a dupe of bug 90763, but this one has proper steps to reproduce
Comment 3 Gabor Kelemen (allotropia) 2017-01-21 14:20:00 UTC
Reproduced with 5.2.4.2 on Ubuntu.
The text added to the comment is lost if you save it while the cursor is still in the comment.
If you click into the document text area after pressing Ctrl-S in the comment, the modified state of the document changes to modified - without even pressing a key!
Then you can save the document again and then the changes to the comment are saved and can be loaded.

Also this does not happen when using ODT or DOC format. Saving comment changes while the cursor is still in the comment works as expected.
Comment 4 Timur 2017-06-09 15:20:03 UTC
Looks like duplicate of Bug 68604.

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