Bug 153291 - Numbered list track changes disappear after hiding then showing tracked changes
Summary: Numbered list track changes disappear after hiding then showing tracked changes
Status: ASSIGNED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.4.4.2 release
Hardware: All All
: medium normal
Assignee: László Németh
URL:
Whiteboard:
Keywords:
: 157099 (view as bug list)
Depends on:
Blocks: Track-Changes-Lists
  Show dependency treegraph
 
Reported: 2023-01-31 12:49 UTC by Wolfgang Andreas
Modified: 2023-09-28 15:42 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Step 01 (335.38 KB, image/png)
2023-01-31 12:50 UTC, Wolfgang Andreas
Details
Step 02 (232.48 KB, image/png)
2023-01-31 12:50 UTC, Wolfgang Andreas
Details
Step 03 (256.27 KB, image/png)
2023-01-31 12:50 UTC, Wolfgang Andreas
Details
Step 04 (195.31 KB, image/png)
2023-01-31 12:51 UTC, Wolfgang Andreas
Details
Step 05 (341.22 KB, image/png)
2023-01-31 12:51 UTC, Wolfgang Andreas
Details
Sample File (44.21 KB, application/vnd.oasis.opendocument.text)
2023-02-01 14:06 UTC, Wolfgang Andreas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfgang Andreas 2023-01-31 12:49:34 UTC
Description:
When using "Track Changes" for a document with numbered lists there will be shown some brackets around the items. At first it seems, that they are bookmarks, but there were never bookmarks used in the document.

When hiding and re-showing the Track-Changes again, everything is displayed correctly.

After saving this state and re-opening the document again, the brackets are shown again.

Steps to Reproduce:
1. Open document with track-changes
2. Recognize the brackets around some numbered lists
3. Hide "Track Changes"
4. Recognize the document which is displayed correctly
5. Show "Track Changes"
6. Document and Numbered lists are shown correctly (without brackets)

Actual Results:
Brackets ("Bookmark"-Like) are shown in some numbered lists

Expected Results:
Numbered lists are shown correctly after opening the document.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 7.4.4.2 (x64) / LibreOffice Community
Build ID: 85569322deea74ec9134968a29af2df5663baa21
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-US
Calc: threaded
Comment 1 Wolfgang Andreas 2023-01-31 12:50:14 UTC
Created attachment 185026 [details]
Step 01
Comment 2 Wolfgang Andreas 2023-01-31 12:50:32 UTC
Created attachment 185027 [details]
Step 02
Comment 3 Wolfgang Andreas 2023-01-31 12:50:48 UTC
Created attachment 185028 [details]
Step 03
Comment 4 Wolfgang Andreas 2023-01-31 12:51:03 UTC
Created attachment 185029 [details]
Step 04
Comment 5 Wolfgang Andreas 2023-01-31 12:51:19 UTC
Created attachment 185030 [details]
Step 05
Comment 6 Stéphane Guillou (stragu) 2023-02-01 11:47:40 UTC
Thanks Wolfgang.
This is a new feature in 7.4, please see:
https://wiki.documentfoundation.org/ReleaseNotes/7.4#New_numbering_in_Show_Changes_mode

That issue is supposed to fix bug 115523 and bug 115524, so we can more clearly see how the numbering changed.

I tested turning "Show Track Changes" on and off and I can still see the old numbers in bracket, so can't reproduce that part.
If the numbers don't come back when turning it back on, there's an issue. Could you please attach an example document for us to reproduce that part port the issue?

Version: 7.4.5.1 / LibreOffice Community
Build ID: 9c0871452b3918c1019dde9bfac75448afc4b57f
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

László, have other people mentioned the similarity with bookmarks? Wondering if that might become more of an issue with coloured bookmarks in 7.5.
Comment 7 Wolfgang Andreas 2023-02-01 14:06:04 UTC
Created attachment 185048 [details]
Sample File
Comment 8 Wolfgang Andreas 2023-02-01 14:06:51 UTC
Hello Stéphane,

no problem. I added an example file where this issue applies.

If you have further questions, please let me know :-)

Regards,
Wolfgang
Comment 9 Stéphane Guillou (stragu) 2023-02-01 14:32:33 UTC
Thank you for the example document!

I can now reproduce with steps in the Description, looking at section 8 in attachment 185048 [details]

Results:
- Ordered list tracked changes displayed are wrong (shows first two paragraphs had numbering removed, but hiding changes shows that they are numbered)
- Hiding then showing tracked changes again results in those numbering changes disappearing
- Extra step: reload document, then Edit > Track Changes > Manage > Accept all: results in wrong numbering and leftover tracked changes visible.

I changed the summary to focus on that middle issue.

László, not sure how much of this is already covered in meta bug 143003, I'm finding it hard to detangle what's going on here. 

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 9740331d8bc56a9b6fbe3e4c1b26fb97f6639cc6
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded
Comment 10 László Németh 2023-02-01 16:12:18 UTC
@Wolfgang, Stéphane: I'll check the usage of the newly optimized strikethrough formatting instead of the extra bracked characters, hoping that will be more user-friendly. Thanks for the report and its forwarding!
Comment 11 Stéphane Guillou (stragu) 2023-09-28 15:42:12 UTC
*** Bug 157099 has been marked as a duplicate of this bug. ***