Bug 112366 - FILESAVE: Tracked change spanning multiple paragraphs is saved as multiple changes in DOCX
Summary: FILESAVE: Tracked change spanning multiple paragraphs is saved as multiple ch...
Status: RESOLVED DUPLICATE of bug 121597
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
Keywords: filter:doc, filter:docx
Depends on:
Blocks: DOCX-Track-Changes
  Show dependency treegraph
Reported: 2017-09-13 07:56 UTC by Aron Budea
Modified: 2019-05-08 12:02 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:

Sample ODT with single change (32.98 KB, application/vnd.oasis.opendocument.text)
2017-09-13 07:56 UTC, Aron Budea
Similar sample DOCK as saved in Word (single change) (19.19 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2017-09-13 07:58 UTC, Aron Budea

Note You need to log in before you can comment on or make changes to this bug.
Description Aron Budea 2017-09-13 07:56:33 UTC
Created attachment 136220 [details]
Sample ODT with single change

Open the attached document, which has change tracking enabled, and the first three paragraphs deleted as a single change.
Save it as DOCX/DOC.
Reopen the DOCX/DOC.

=> There are separate changes for each paragraph (three altogether instead of one).
Because of that, after accepting changes, unnecessary empty lines remain.

Observed using LO and / Windows 7 and Ubuntu 17.04.
Comment 1 Aron Budea 2017-09-13 07:58:33 UTC
Created attachment 136221 [details]
Similar sample DOCK as saved in Word (single change)
Comment 2 Aron Budea 2017-09-17 05:11:10 UTC
Bug is already in 3.3.0.
Comment 3 Dieter 2017-09-27 12:16:30 UTC
I could reproduce it with docx, but not with doc (using the documetn from the original bug report.
=> I haven't changed the the status to new.

Version: (x64)
Build-ID: dfa67a98bede79c671438308dc9036d50465d2cb
CPU-Threads: 4; Betriebssystem:Windows 6.19; UI-Render: GL; 
Gebietsschema: de-DE (de_DE); Calc: group
Comment 4 Aron Budea 2017-09-27 12:30:50 UTC
Dieter, thanks for testing. For DOC, please check how many entries you see in Edit -> Track Changes -> Manage...
Comment 5 Dieter 2017-09-27 13:30:49 UTC
The "manage changes" dialog shows three changes, but now I can also reproduce your bug with the doc-file (strange) => NEW
Comment 6 Aron Budea 2017-10-24 17:48:02 UTC
It seems attributes like rsidDel, rsidP, rsidR, rsidRDefault, rsidRPr needs to be supported (at least in case of DOCX format).
Comment 7 QA Administrators 2019-02-15 03:46:52 UTC Comment hidden (obsolete)
Comment 8 Dieter 2019-02-15 09:37:36 UTC
Tested with

Version: (x64)
Build ID: f42554a1886ebe49170c25096dc3281b2c7bb1f4
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2019-02-08_22:37:30
Locale: en-US (de_DE); UI-Language: en-US
Calc: threaded

WORKSFORME when I save it as docx (only one entry in Manage Changes Dialog)
Still valid when I save it as doc (still three entries in Manage Changes Dialog)

Aron, do you get the same result (if so, we should change summary and "Blocks" entries
Comment 9 László Németh 2019-05-08 12:01:11 UTC
The DOCX problem has been solved by fixing Bug 121597 "FILESAVE DOCX: don't export empty paragraphs at the place of removed paragraph blocks (change tracking)". I close this issue as a duplicate of that bug, but please, reopen it only for DOC, if really needed.

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