Bug 119229

Summary: Provide compatibility with comment replies in MS Word
Product: LibreOffice Reporter: egor.katkov
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED FIXED    
Severity: enhancement CC: ilmari.lauhakangas, kelemeng, nekohayo
Priority: medium    
Version: 3.3.0 release   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=89232
https://bugs.documentfoundation.org/show_bug.cgi?id=120244
https://bugs.documentfoundation.org/show_bug.cgi?id=127105
https://bugs.documentfoundation.org/show_bug.cgi?id=160350
Whiteboard: target:7.6.0
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 106179, 112822, 112916    
Attachments: Comment with reply
What comment replies look like in Word

Description egor.katkov 2018-08-12 14:30:44 UTC
Description:
Hello!

Currently, Writer treats comment replies created in MS Word (.docx format) as separate comments. Similarly, comment replies created in LibreOffice appear in both programs as separate comments topped with an italicized "Reply to ...". I personally find that MS Word's approach to comment replies is more elegant, although any way to make comment replies from MS Word compatible with LibreOffice Writer would be great.

Thank you, developers!

Related bug: https://bugs.documentfoundation.org/show_bug.cgi?id=89232



Steps to Reproduce:
1. Create a file in MS Word with a comment and a reply to that comment
2. Open the file in Writer.
3.

Actual Results:
Comments appear to be independent

Expected Results:
Reply comment should be marked as such. 


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 Buovjaga 2018-09-07 13:02:26 UTC
Ok, let's set to NEW. Egor: would be cool, if you could attach an example .docx with comment replies.
Comment 2 egor.katkov 2018-10-22 21:53:47 UTC
Created attachment 145913 [details]
Comment with reply

Open with Word and Libre office to compare the output.
Comment 3 egor.katkov 2018-10-22 21:55:33 UTC
Created attachment 145914 [details]
What comment replies look like in Word
Comment 4 NISZ LibreOffice Team 2020-11-27 10:50:47 UTC
*** Bug 120244 has been marked as a duplicate of this bug. ***
Comment 5 Commit Notification 2023-01-18 15:29:14 UTC
Paris Oplopoios committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/0c2ed51a775871c91ac8f01c8982f23c34e8248d

tdf#119229 docx: Preserve w15:paraIdParent attribute in commentsExtended

It will be available in 7.6.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 6 Commit Notification 2023-01-30 08:34:24 UTC
Paris Oplopoios committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/70ff425141e3569bf09a6768ded3b8a7b0002bab

tdf#119229 docx: Set paraIdParent upon FN_REPLY

It will be available in 7.6.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 7 Justin L 2023-05-24 18:06:06 UTC
Paris: please mark TDF bug reports as "fixed" when you believe you have completed the work.

Although the result doesn't anything like comment 3's snapshot, replies have been offset/differentiated from the original comment. FIXED.
Comment 8 Jeff Fortin Tam 2023-09-14 04:45:08 UTC
For the record, this is just for the LibreOffice "Writer" component; for those landing here and interested in the spreadsheets (OOXML ".xlsx" format) counterpart to this, it is at bug #127105.