[Libreoffice-bugs] [Bug 123917] New: Wrong chapter in header's Chapter field when a page starts with a section's endnotes

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Mar 7 07:25:44 UTC 2019


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

            Bug ID: 123917
           Summary: Wrong chapter in header's Chapter field when a page
                    starts with a section's endnotes
           Product: LibreOffice
           Version: 6.2.1.1 rc
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: mikekaganski at hotmail.com

Created attachment 149780
  --> https://bugs.documentfoundation.org/attachment.cgi?id=149780&action=edit
A sample with endnotes at the section's end and wrong chapter field

When a chapter is enclosed into a section, *and* the section has endnotes
collected at the end of that section, *and* the endnotes flow to a new page,
*and* that new page has a header with Chapter field in it, then the Chapter
field on that page which is started with a section's endnotes shows wrong
chapter information.

Steps to reproduce:

1. Create a new text document.
2. Add a header to the used page style (i.e., "Default Style" in pristine
configuration).
3. Add Chapter field to the header, displaying Chapter Name of level 1.
4. In the page body, type "FirstHeading" and apply Heading 1 paragraph style.
5. Add some chapter text.
6. Add a new paragraph with text "SecondHeading" and Heading 1 style.
7. Add second chapter text enough to see that it flows to a next page, and it's
clear that the next page's header shows "SecondHeading" in the Chapter field.
8. Select "SecondHeading" and the following chapter, and add a section; in the
section properties, make sure to collect endnotes at the end of section.
9. Add some endnotes to the second chapter text (now in section), so that
endnotes (also in that section) start to flow to a new page.

Expected: the new page starting with the rest of second chapter's endnotes
should have "SecondHeading" in the header.

Actual: that page has "FirstHeading" in the header.

See: https://ask.libreoffice.org/en/question/182657

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190307/3097e943/attachment-0001.html>


More information about the Libreoffice-bugs mailing list