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

            Bug ID: 159574
           Summary: Writer: instant freeze on document containing endnotes
                    at end of section
           Product: LibreOffice
           Version: 7.6.4.1 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 192411
  --> https://bugs.documentfoundation.org/attachment.cgi?id=192411&action=edit
Document containing a section intended for endnotes

This is a follow-on of
https://ask.libreoffice.org/t/file-hangs-lo-in-version-24-2-but-fine-in-7-5-9-and-before/101540/

OP wrote a document in which he wants the endnotes at a specific location with
more data after them. For this, a section is inserted, containing all chapters,
bibliography and some introductory text for the notes.

Section is configured with "Collect [endnotes] at end of section".

Under LO 7.5.9 document is laid out as expected and can be reopened at will for
edits. OP then updated his computer and ended up with 24.02. When he tried to
open his document, Writer instantly froze on the first page.

I tried his document under 7.6.4.1 (on my computer) and experienced the same
freeze.

OP transmitted a copy without the section and this copy opens without problem
(except the endnotes are not located where author wants them.

Inserting the section does no harm by itself (this is the state of the attached
file) if no special requirement is made for the notes. Ticking "Collect at end
of section" results in a freeze after dismissal of dialog with OK. If both
"Collect …" and "Restart numbering" are ticked, the endnotes moves from end of
the document to end of section without freeze. Editing can continue.

But, after saving, reopening the document causes freeze again.

I tried to see the influence of the section extent by starting with a small
section over a single chapter and extending progressively towards the end of
the document. Freeze occurs beyond some size but I could not see any obvious
pattern. Notes by themselves seem "normal". I tried again from the end of the
document extending the section towards the beginning and freeze happened at a
certain point, different from the first one, again without obvious pattern.

Since behaviour was correct under 7.5.9, this is likely a regression.

How to reproduce freeze with attached file:
- edit "section1"
- tick "Collect [endnotes] at end of section" in Options and OK for instant
freeze
- or tick both "Collect …" and "Restart numbering" for deferred freeze.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to