https://bugs.documentfoundation.org/show_bug.cgi?id=173660

            Bug ID: 173660
           Summary: Entries lost when updating the TOC - specific document
           Product: LibreOffice
           Version: 7.4 all versions
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: bisected, regression
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
            Blocks: 89606

Starting in LO 7.4, updating the table of contents ends up losing the second
Heading 2 entry. (I just noticed this while updating bug reports. It appears
that someone took this document to the chopping block, removing the Heading 1
as well as various other content. Now only two 'Heading 2' entries remain.)

Steps to reproduce:
-open 'LOBugNoteWidowOrphan (4).odt' (attachment 201767 from bug 167479)
-notice the TOC has a Heading 1 entry and two Heading 2 sub-entries
-update the TOC (right click - Update index)

Now the second 'Heading 2' on page 2 is no longer included.

This started with LO 7.4 commit 1cac7d18ab8561f129a30d6c93c0f9f1d7868e01
Author: Andreas Heinisch on Thu Mar 31 16:34:19 2022 +0200
    tdf#130318 - Use the actual cursor position to create ToC "for chapter"
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125727


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=89606
[Bug 89606] [META] Table of Contents and Indexes bugs and enhancements
-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to