Bug 142784 - FILEOPEN DOCX Hidden first page header cannot be enabled
Summary: FILEOPEN DOCX Hidden first page header cannot be enabled
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.2.0.0 alpha1+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:docx, implementationError
Depends on:
Blocks: DOCX-Header-Footer
  Show dependency treegraph
 
Reported: 2021-06-11 08:28 UTC by NISZ LibreOffice Team
Modified: 2023-09-06 16:35 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
attachment 86234 in Word after enabling the first page header (60.85 KB, image/png)
2021-06-11 08:28 UTC, NISZ LibreOffice Team
Details
attachment 86234 in Writer after enabling the first page header (81.28 KB, image/png)
2021-06-11 08:28 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description NISZ LibreOffice Team 2021-06-11 08:28:30 UTC
Created attachment 172796 [details]
attachment 86234 [details] in Word after enabling the first page header

This is a followup to bug 69635
When the example file attachment 86234 [details] is opened in Writer the hidden first page header/footer cannot be re-enabled, but the hidden even page header/footer can.

Steps to reproduce:
1.	Open attachment 86234 [details] in Writer
2.	Go to Format – Page Style
3.	On the Header tab or Footer tab uncheck “Same content on first page”
4.	Press Apply

Actual results:
The first page header does not change.
Unchecking “Same content on left and right pages” however works as expected: the second pages header becomes the green “EVEN header”

Expected results:
The first page header should change from the blue “ODD header” to the red “FIRST header”.
This should match the behavior of Word when the Header and Footer ribbons “First page different” box is checked.
Saving the file in Writer and opening that also changes the behavior of Word so that the “FIRST header” does not appear there.

LibreOffice details:
Version: 7.2.0.0.alpha1+ (x64) / LibreOffice Community
Build ID: aa9cb8e14749e7fb7a83b55a2bb095501f731a18
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: default; VCL: win
Locale: en-US (hu_HU); UI: en-US
Calc: CL
Comment 1 NISZ LibreOffice Team 2021-06-11 08:28:57 UTC
Created attachment 172797 [details]
attachment 86234 [details] in Writer after enabling the first page header
Comment 2 Dieter 2021-06-27 10:45:08 UTC
In reply to NISZ LibreOffice Team from comment #0)
> This is a followup to bug 69635
> When the example file attachment 86234 [details] is opened in Writer the
> hidden first page header/footer cannot be re-enabled, but the hidden even
> page header/footer can.
> 
> Steps to reproduce:
> 1.	Open attachment 86234 [details] in Writer
> 2.	Go to Format – Page Style
> 3.	On the Header tab or Footer tab uncheck “Same content on first page”
> 4.	Press Apply

I confirm the behaviour, but not sure, if I understand the problem. So just for clarification: There was a first page header before. it is hidden in the actual document, because "Same content on first page" is enabled. Previous header should reappear, if you disable that option, corect?
=> NEEDINFO

Tested with

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 949658028e722e5d2657b503eb20e16e41dbd8cf
CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL
Comment 3 NISZ LibreOffice Team 2021-07-22 15:16:06 UTC
(In reply to Dieter from comment #2)
> In reply to NISZ LibreOffice Team from comment #0)
> > This is a followup to bug 69635
> > When the example file attachment 86234 [details] is opened in Writer the
> > hidden first page header/footer cannot be re-enabled, but the hidden even
> > page header/footer can.
> > 
> > Steps to reproduce:
> > 1.	Open attachment 86234 [details] in Writer
> > 2.	Go to Format – Page Style
> > 3.	On the Header tab or Footer tab uncheck “Same content on first page”
> > 4.	Press Apply
> 
> I confirm the behaviour, but not sure, if I understand the problem. So just
> for clarification: There was a first page header before. it is hidden in the
> actual document, because "Same content on first page" is enabled. Previous
> header should reappear, if you disable that option, corect?
> => NEEDINFO
>

Yes, unchecking the "Same content on left and right pages" box enables (sometimes- see bug 142785) the hidden green EVEN header on the second page, and unchecking "Same content on first page" should enable the hidden red FIRST header on the first page, similar to what happens in Word.
Comment 4 Dieter 2021-08-15 10:54:42 UTC
(In reply to NISZ LibreOffice Team from comment #3)
> (In reply to Dieter from comment #2)
> Yes, unchecking the "Same content on left and right pages" box enables
> (sometimes- see bug 142785) the hidden green EVEN header on the second page,
> and unchecking "Same content on first page" should enable the hidden red
> FIRST header on the first page, similar to what happens in Word.

Thank you for your answer
=> Status NEW
Comment 5 Justin L 2021-08-27 09:07:25 UTC
I imagine that this is because "first page" typically gets moved into the "first page style" during DOCX import. So probably depends on bug 136472.
Comment 6 QA Administrators 2023-08-28 03:05:35 UTC Comment hidden (obsolete)
Comment 7 Dieter 2023-09-06 16:35:18 UTC
Still the same with

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 34d32740d89876c3d4fd2743a07d6e2578601683
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL threaded