Bug 135257 - Track and changes show doesn't show the expected bullets
Summary: Track and changes show doesn't show the expected bullets
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.3.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected
Depends on: 139685
Blocks: redlinehide-regressions
  Show dependency treegraph
 
Reported: 2020-07-29 08:19 UTC by Telesto
Modified: 2023-10-09 15:41 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample file (65.58 KB, application/vnd.oasis.opendocument.text)
2020-07-29 08:20 UTC, Telesto
Details
Screencast (1.32 MB, video/mp4)
2020-08-20 15:26 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-07-29 08:19:35 UTC
Description:
Track and changes show doesn't show the expected bullets

Steps to Reproduce:
1. Open the attached file
2. Select the text from bottom to the first bullet starting with: Les algorithmes
3. Backspace
4. Press a few times backspace so the bullet disappears and cursor moves the previous line
5. Show track changes

Actual Results:
No bullets

Expected Results:
Bullets still present


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.0.0.2
Build ID: c01aa64b6c3d89ebe5fe69c28c7adb24eb85249c
CPU threads: 4; OS: Mac OS X 10.12.6; UI render: default; VCL: osx
Locale: nl-NL (nl_NL.UTF-8); UI: en-US
Calc: threaded
Comment 1 Telesto 2020-07-29 08:20:24 UTC
Created attachment 163725 [details]
Sample file
Comment 2 Attila Baraksó (NISZ) 2020-08-19 12:29:42 UTC Comment hidden (obsolete)
Comment 3 Telesto 2020-08-20 15:26:51 UTC
Created attachment 164500 [details]
Screencast
Comment 4 Telesto 2020-08-20 15:27:27 UTC Comment hidden (obsolete)
Comment 5 Attila Baraksó (NISZ) 2020-08-21 05:09:31 UTC Comment hidden (obsolete)
Comment 6 Attila Baraksó (NISZ) 2020-08-21 05:25:04 UTC
Bibisected using linux-64-6.3 to:
URL: https://cgit.freedesktop.org/libreoffice/core/commit/?id=32902f66e7749b2d06d13f50416be5323a0c0ea9
author: Michael Stahl <Michael.Stahl@cib.de>
committer: Michael Stahl <Michael.Stahl@cib.de>
summary: sw_redlinehide: make layout based Show/Hide mode the default

Adding CC: Michael Stahl
Comment 7 Aron Budea 2021-03-20 07:42:45 UTC
I'm not sure the previous behavior was correct, as it didn't show the distinction between deleting a bulleted entry, and deleting first the entry, then the bullet. In fact, if you enable showing changes from the start, the bullet already wasn't shown after the steps in LO 3.3.0.

Probably the solution would be to differentiate between how these changes are displayed.
Comment 8 Michael Stahl (allotropia) 2022-06-01 16:30:30 UTC
this happens because Backspace is handled specially to remove numbering from an empty paragraph.

if you first Show the tracked changes, then backspace like in the description, the result was different in LO 6.1: the result is that the paragraph is not in a  list, but still indented - now Hide and Show tracked changes, and it's still not in a list, but no longer indented.

on master this works better, as the backspacing removes the indent as well, so it looks the same after editing as after a subsequent Hide/Show.

so the problem here is that there is no recording of the actual formatting change when the numbering is removed - this has never been implemented for editing (although László Németh added something for imported tracked changes relatively recently, which i haven't had an opportunity to test).

without being able to store the previous formatting, this can't really work and so i think the scenario in this bug isn't really a regression, it just happened to work in different case back then than it does now.
Comment 9 Justin L 2023-08-25 16:54:47 UTC
repro 24.2+
Comment 10 Justin L 2023-08-29 13:59:51 UTC
In OPs description, he says actual results are "no bullets" at all (repro 24.2+), but at comment 6's commit only the first paragraph lost the bullet point.

The "no bullets on all redlined paragraphs" started with 6.4 commit 2f2409fdac98cc3470ad8fa1d45ab84bb50e929c
Author: László Németh on Fri Aug 2 13:14:11 2019 +0200
    tdf#127097 Change tracking: change style of whole deletion at paragraph join

Likely all this will be fixed if regression bug 139685 is solved.
Comment 11 Justin L 2023-08-31 21:20:01 UTC
(In reply to Michael Stahl (allotropia) from comment #8)
> this happens because Backspace is handled specially to remove numbering
That is when sw/source/uibase/docvw/edtwin.cxx KEY_BACKSPACE calls rSh.NumOrNoNum