Bug 105458

Summary: ROUNDTRIP DOCX: Text within a comment isn't saved into DOCX
Product: LibreOffice Reporter: Telesto <telesto>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED DUPLICATE    
Severity: critical CC: kelemeng
Priority: medium Keywords: dataLoss
Version: 4.0.0.3 release   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 112916    
Attachments: Example file

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 ***