Bug 157250 - Change tracking: Navigator shows deleted headings when changes are hidden
Summary: Change tracking: Navigator shows deleted headings when changes are hidden
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL: https://forumooo.ru/index.php?topic=1...
Whiteboard:
Keywords:
Depends on:
Blocks: Track-Changes Navigator
  Show dependency treegraph
 
Reported: 2023-09-15 07:44 UTC by Mike Kaganski
Modified: 2023-11-06 05:09 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Possible expected behavior for headings with redlining (858.22 KB, video/x-matroska)
2023-11-06 05:09 UTC, Jim Raykowski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Kaganski 2023-09-15 07:44:09 UTC
1. Create a new text document.
2. Type "H1"
3. Press enter twice
4. Type "H2"
5. Press enter twice
6. Assign "Heading 1" paragraph style to "H1", and "Heading 2" paragraph style to "H2"
7. Activate "Edit"->"Track Changes"->"Record"
8. Put cursor in front of "H1", [Shift] + [Arrow Down] to select the whole paragraph, [Del]
9. Deactivate "Edit"->"Track Changes"->"Show"

=> "H1" parent node is still shown in Navigator

10. Save (and reload)

=> An empty parent node is shown in Navigator, pointing to an empty paragraph above "H2", having no outline level. It is confusing to users.

Ref: https://forumooo.ru/index.php?topic=10856 (Rus)

Basically the same as Bug 142254, just for headings - up to Jim (or whoever would handle these) to mark as a dupe, or handle separately.
Comment 1 m_a_riosv 2023-09-16 09:13:41 UTC
Reproducible
Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: b3fdd999f87312447d03915585812b3a5cd48141
CPU threads: 16; OS: Windows 10.0 Build 22621; UI render: Skia/Vulkan; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded Jumbo
Comment 2 Jim Raykowski 2023-11-06 05:09:40 UTC
Created attachment 190668 [details]
Possible expected behavior for headings with redlining

Here is a demo showing possible expected behavior of Headings displayed in the Navigator that have redlines.

https://gerrit.libreoffice.org/c/core/+/158964