Bug 115521 - FILESAVE DOCX Change tracking of all deleted empty paragraphs of a multiparagraph deletion are removed on save
Summary: FILESAVE DOCX Change tracking of all deleted empty paragraphs of a multiparag...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.4.2.2 release
Hardware: All All
: medium normal
Assignee: László Németh
URL:
Whiteboard: target:6.2.0
Keywords: filter:docx
Depends on: 119848
Blocks: DOCX-Track-Changes 121597
  Show dependency treegraph
 
Reported: 2018-02-07 17:27 UTC by Gabor Kelemen (allotropia)
Modified: 2023-02-01 16:09 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file made with Word 2013, containing (20.69 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2018-02-07 17:27 UTC, Gabor Kelemen (allotropia)
Details
The example file saved by LO 5.4 (18.94 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2018-02-07 17:28 UTC, Gabor Kelemen (allotropia)
Details
The two files side by side in Word 2013 (165.55 KB, image/png)
2018-02-07 17:28 UTC, Gabor Kelemen (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen (allotropia) 2018-02-07 17:27:48 UTC
Created attachment 139663 [details]
Example file made with Word 2013, containing

Attached docx was created with Word 2013. It contains some text, empty paragraphs (9), some of which (2) were marked as removed with Track Changes on.

Open the file in LO, save it without any changes.

Reopen in Word or LO. The empty paragraphs are no longer marked for removal, all 9 are finalized instead of 7, and there are no entries with Track Changes.

The saving should retain the Track Changes entry.
Comment 1 Gabor Kelemen (allotropia) 2018-02-07 17:28:17 UTC
Created attachment 139664 [details]
The example file saved by LO 5.4
Comment 2 Gabor Kelemen (allotropia) 2018-02-07 17:28:40 UTC
Created attachment 139665 [details]
The two files side by side in Word 2013
Comment 3 Aron Budea 2018-02-14 02:09:39 UTC
Confirmed using LO 6.0.1.1 / Windows 7.
Comment 4 László Németh 2018-09-14 15:55:58 UTC
Proposed fix: https://gerrit.libreoffice.org/#/c/60503/

tdf#115521 DOCX export: keep empty paragraphs in tracked deletion
    
of a paragraph sequence by inspecting every paragraph in a
"redline" range. Before this fix, all empty paragraphs of
a multiparagraph deletion reappeared as normal text in the DOCX
export.
Comment 5 Commit Notification 2018-09-15 09:58:21 UTC
László Németh committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=2cdc870a7ee82d0faf35cdb5b2bf4e687cfd2b8d

tdf#115521 DOCX export: keep empty paragraphs in tracked deletion

It will be available in 6.2.0.

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

Affected users are encouraged to test the fix and report feedback.