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.
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
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
Created attachment 195414 [details] Demo of patch set 1 Here is a patch that makes deleted headings tracked changes only show in the Navigator Headings when show tracked changes is on, which I suppose is the expected results for the STR: https://gerrit.libreoffice.org/c/core/+/170810 I've just recently started to seriously poke around the change tracking/redlining stuff. For others that may be interested in exploring this area of the code here is a link to a helpful section in the Writer/Core and Layout document on Change Tracking: https://wiki.openoffice.org/wiki/Writer/Core_And_Layout#Change_Tracking
Due to an incorrect bug reference in the commit message, the following automatic notification missed this report: === Jim Raykowski committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/5830f1f2941652895187b252b202b6042bb72c76 tdf#157249 Show deleted headings tracked changes in the Navigator It will be available in 25.8.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.