Description: Attached example is a simplified user document with some tracked changes to the numbered paragraphs. In recent LO master the deleted paragraph gets numbering of second level and following paragraphs continue that, breaking the order set in Word. Steps to Reproduce: 1. Open the attached document 2. Notice that the deleted paragraph before I.3. (as numbered by Word) gets numbered as II. and the I.3. is now II.1. Actual Results: Empty paragraph gets numbered. Expected Results: No extra numbering appears. Reproducible: Always User Profile Reset: No Additional Info:
Created attachment 152133 [details] Example file from Word
Created attachment 152134 [details] Screenshot of the original document side by side in Word and Writer
Repro 6.4+. Was worse in 6.2 and somewhat improved. Fine with 6.1. I add bibisectRequest.
Strange... I bibisected this already to: https://cgit.freedesktop.org/libreoffice/core/commit/?id=caeb6ff68d49e1b1ca911cf3f63371b855ee935d author László Németh <nemeth@numbertext.org> 2019-05-27 18:23:46 +0200 committer László Németh <nemeth@numbertext.org> 2019-05-28 07:49:28 +0200 DOCX import: clean-up FinalizeImport() of change tracking
Reproduced in Version: 6.4.0.0.alpha0+ Build ID: 31944b14c3e998a37a0bb3dff300f4460c322183 CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US Calc: threaded
László Németh committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/+/be9379d0a955bd06a8d22c4dc8d99a87ed062ac4%5E%21 tdf#125881 DOCX import: handle list level after tracked deletion It will be available in 6.4.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.
Timur, Xisco: I believe, this was not a regression. Switching off Show Changes removed the numbering in 6.0 and in the master, too, before fixing tdf#125319 and this bug, ie. the import was never correct, and saving in DOCX format resulted missing numbering in Show Changes mode, too. Now the actual numbering is imported correctly (the numbering on the deleted paragraph is a temporary solution until a better change tracking implementation).
(In reply to László Németh from comment #7) > Timur, Xisco: I believe, this was not a regression. Switching off Show > Changes removed the numbering in 6.0 and in the master, too, before fixing > tdf#125319 and this bug, ie. the import was never correct, and saving in > DOCX format resulted missing numbering in Show Changes mode, too. Now the > actual numbering is imported correctly (the numbering on the deleted > paragraph is a temporary solution until a better change tracking > implementation). ok, let's remove the keyword then...
László Németh committed a patch related to this issue. It has been pushed to "libreoffice-6-3": https://git.libreoffice.org/core/+/77d9befd703e958f359e25fb67a96e25655cf2db%5E%21 tdf#125881 DOCX import: handle list level after tracked deletion It will be available in 6.3.0.1. 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.