Bug 138624 - TRACK CHANGES: Problems with track changes when deleting text with sections
Summary: TRACK CHANGES: Problems with track changes when deleting text with sections
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected) release
Hardware: All All
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: Section Track-Changes-Lists
  Show dependency treegraph
Reported: 2020-12-02 17:19 UTC by Telesto
Modified: 2021-06-23 10:32 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:
Regression By:

Example file (15.18 KB, application/vnd.oasis.opendocument.text)
2020-12-02 17:20 UTC, Telesto
The original document and after deleting into it (222.98 KB, image/png)
2021-06-22 12:49 UTC, NISZ LibreOffice Team

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-12-02 17:19:43 UTC
Reject changes produces quite a different compared prior the edit

Steps to Reproduce:
1. open the attached file
2. Edit Track changes -> Record
3. Place cursor at the end of the document
4. CTRL+SHIFT ARROW UP 6x (text select from bottom to before 3)
5. Press Backspace
6. Press backspace 3x
7. Edit -> Track changes -> reject all

Actual Results:
Doesn't look that nice

Expected Results:
Never worked perfectly (and not sure if this can be archived with they current implementation anyhow).. However they situation surely did go backwards compared to previous state (like 6.1)

Reproducible: Always

User Profile Reset: No

Additional Info:
Found in
Version: (x64)
Build ID: 32fdb8eb3506bc8dcf013cc713fe8e5debceb940
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL

not in
Build ID: 3a801799536e6870f2fb111b1cc00b9575a35a39
CPU threads: 4; OS: Windows 6.3; UI render: GL; 
Locale: nl-NL (nl_NL); Calc: CL
Comment 1 Telesto 2020-12-02 17:20:08 UTC
Created attachment 167770 [details]
Example file
Comment 2 Dieter 2021-06-18 17:15:08 UTC
I confirm it with

Version: (x64) / LibreOffice Community
Build ID: de7356c2e0cb099fac396808b5a86a0393b48e5f
CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

Additional informations:
If you just delete sections and press Strg+Z, it works
If you hit backspace you can see that content of sections changes. So I think, reject als changes works as expected, but record changes doesn't work correct
Comment 3 NISZ LibreOffice Team 2021-06-22 12:49:09 UTC
Created attachment 173083 [details]
The original document and after deleting into it

Simpler steps to reproduce:
Enable change tracking
Highlight text from the end of the document to the list with triangle bullets, press Backspace.

This likely has to do something with the fact that entirely removing (or adding) bullets/numbering from a paragraph is not properly tracked.

Removing the section entirely before doing the above does not trigger the error, but having the section makes the paragraph after it (c) 10 months) and its first paragraph ( "a) 3" ) not deleted.