Bug 160990 - Different header/footer content on first page not honoured after first occurrence
Summary: Different header/footer content on first page not honoured after first occurr...
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.6.6.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-08 14:59 UTC by ajlittoz
Modified: 2024-05-09 20:29 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
First chapter page should have no header/footer (13.44 KB, application/vnd.oasis.opendocument.text)
2024-05-08 14:59 UTC, ajlittoz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ajlittoz 2024-05-08 14:59:56 UTC
Created attachment 194027 [details]
First chapter page should have no header/footer

This is a follow-on to https://ask.libreoffice.org/t/first-page-not-being-appled-to-new-page-after-page-break/105618/9

Default Page Style is configured so that first page can have different header/footer: both boxes are UNCHECKED in Header and Footer tabs (avoiding bug 100287 and bug 156036).

Heading 1 paragraph style Text Flow properties are set for page break Before with Default Page Style.

I then expect the first page of every "chapter" to be considered as the first page in a sequence of Default Page Style. This works on first occurrence where style switches from First Page but fails when starting a new chapter with Heading 1.

I tried replacing the automatic application with direct formatting with same failure.

I am quite puzzled because this is a feature implemented long ago and it has always given the expected result.

Behaviour is faulty both in 7.6.6.3 and 24.2.3.2.

There may be something in the document. Initially it was provided on AskLO but contents copied from internet (AskLO site) was pasted without precaution. Fearing a possible pollution by unwanted formatting directives, I rebuild the example file pasting as unformatted text.I don't see anything weird in the FODT (but I am not an expert in ODF).

Could a developer have a look at the attached file and find the error? Thanks.