Bug 168221 - DOCX: Header and footer is missing after opening the file and also converting to the PDF
Summary: DOCX: Header and footer is missing after opening the file and also converting...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.1 all versions
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Writer-Header-Footer
  Show dependency treegraph
 
Reported: 2025-09-01 07:18 UTC by SATYA SRINIVAS K
Modified: 2025-09-02 09:18 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Original file.docx (142.05 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2025-09-01 07:19 UTC, SATYA SRINIVAS K
Details
Header_Footer_MSO.png (103.91 KB, image/png)
2025-09-01 07:19 UTC, SATYA SRINIVAS K
Details
Header_Footer_Missing_LibreOffice.png (94.74 KB, image/png)
2025-09-01 07:19 UTC, SATYA SRINIVAS K
Details

Note You need to log in before you can comment on or make changes to this bug.
Description SATYA SRINIVAS K 2025-09-01 07:18:54 UTC
Description:
The header and footer is missing. MS office is showing them.

Steps to Reproduce:
1. Open the attached Original file.docx in Libre office.
2. Observe the header and footer.
3. Check the attached screenshots from MS office and Libre office for comparision.

Actual Results:
Header and footer are missing/not visible.

Expected Results:
Header and footer should be visible.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 25.8.0.4 (X86_64)
Build ID: 48f00303701489684e67c38c28aff00cd5929e67
CPU threads: 22; OS: Windows 11 X86_64 (build 22631); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
Comment 1 SATYA SRINIVAS K 2025-09-01 07:19:11 UTC
Created attachment 202627 [details]
Original file.docx
Comment 2 SATYA SRINIVAS K 2025-09-01 07:19:27 UTC
Created attachment 202628 [details]
Header_Footer_MSO.png
Comment 3 SATYA SRINIVAS K 2025-09-01 07:19:39 UTC
Created attachment 202629 [details]
Header_Footer_Missing_LibreOffice.png
Comment 4 Xisco Faulí 2025-09-01 09:02:43 UTC
Regression introduced by:

commit 32c322e9d037b29ded2297b400a2c596c042f1fa	[log]
author	Miklos Vajna <vmiklos@collabora.com>	Mon Oct 26 17:52:42 2020 +0100
committer	Miklos Vajna <vmiklos@collabora.com>	Mon Oct 26 20:30:50 2020 +0100
tree d2550fd9eee6781bac5dc0550d5af33007bbd0ad
parent 5711858e00f542f1770d7ff3c035e8a2fdb72266 [diff]

DOCX import, altChunk: fix missing page break

Bisected with: linux-64-7.1
Comment 5 Miklos Vajna 2025-09-01 12:52:34 UTC
Ah hm, I don't recall how this was supposed to work 5 years ago, I'll try to read back commits in that area. Thanks for the bisect, in any case.