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

            Bug ID: 146704
           Summary: section setting endnote "collect at end of section"
                    does not update layout
           Product: LibreOffice
           Version: 7.3.0.1 rc
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: bisected, regression
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: michael.st...@allotropia.de
                CC: eaglevi...@protonmail.com, szucs.atti...@nisz.hu

steps:

1. insert section
2. inside section, insert endnote
3. Format->Section, Options, Footnotes/Endnotes, check Endnotes "collect at end
of section", OK

expected:
the endnote moved from its own endnote page to the first page, into section

actual:
nothing happens
(but if you click "collect footnote at end of section" *as well* it will move 

the executions diverge in SwTextFrame::ConnectFootnote():

│      611      SwFootnoteBossFrame *pBoss = pContent->FindFootnoteBossFrame(
!bEnd );  

here pBoss is SwPageFrame 1 (page 1) now
and was SwColumnFrame 12 (inside section) in LO 6.4

presumably because of 

commit 4c31b4ef2083087a822c3ae648fd09acc67d2f88
Author:     Attila Szűcs <szucs.atti...@nisz.hu>
AuthorDate: Wed Sep 8 15:51:16 2021 +0200
Commit:     László Németh <nem...@numbertext.org>
CommitDate: Tue Nov 2 16:31:24 2021 +0100

    tdf#139336 sw: fix extra pages of multicolumn sections with footnotes


...which added code to FindFootnoteBossFrame() that checks for the sections'
IsFootnoteAtEnd() but not IsEndnAtEnd() - a suspicious omission.

note: a bisect won't find this because the bug is masked by another bug 146605
that is fixed on master since today.

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

Reply via email to