Bug 163092 - FILESAVE Comments lose parent-child relation when converting from odt to docx
Summary: FILESAVE Comments lose parent-child relation when converting from odt to docx
Status: ASSIGNED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Jaume Pujantell
URL:
Whiteboard: target:25.2.0
Keywords:
Depends on:
Blocks: Writer-Comments
  Show dependency treegraph
 
Reported: 2024-09-22 16:58 UTC by Jaume Pujantell
Modified: 2024-09-29 14:25 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
test file (9.28 KB, application/vnd.oasis.opendocument.text)
2024-09-22 17:00 UTC, Jaume Pujantell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaume Pujantell 2024-09-22 16:58:46 UTC
Description:
When an odt file that has comments with children is opened and saved to docx all the child comments become isolated root comments.

Steps to Reproduce:
1.Open the attached file
2.Save as .docx
3.Open the new saved file

Actual Results:
There are 3 isolated comments.

Expected Results:
There is one comment thread containing 3 comments.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 8722639f3a270e2903810b85ef40a68cb0a14646
CPU threads: 16; OS: Linux 6.1; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 1 Jaume Pujantell 2024-09-22 17:00:09 UTC
Created attachment 196611 [details]
test file
Comment 2 Commit Notification 2024-09-25 13:45:04 UTC
Jaume Pujantell committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/34d242f5099fdb9234ac047e5712aea6df113e4c

tdf#163092 sw: fix broken anotations on save to docx

It will be available in 25.2.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.