Bug 170096 - LibreOffice Header Rendering Issue: Text and Images Overlapping in DOCX Files
Summary: LibreOffice Header Rendering Issue: Text and Images Overlapping in DOCX Files
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.1.0.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:docx
Depends on:
Blocks: DOCX-Header-Footer
  Show dependency treegraph
 
Reported: 2025-12-23 11:12 UTC by Ravi Jammikunta
Modified: 2025-12-29 09:22 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Issue - Docx file (129.50 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2025-12-23 11:14 UTC, Ravi Jammikunta
Details
output screenshots (55.03 KB, application/pdf)
2025-12-23 11:15 UTC, Ravi Jammikunta
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ravi Jammikunta 2025-12-23 11:12:39 UTC
Description:
In some DOCX files, the header alignment appears incorrect or misaligned when opened in LibreOffice. However, the same documents display the header correctly in Microsoft Word. When the header contains both images and text, LibreOffice overlaps these elements, whereas Microsoft Word shows them properly aligned.

Steps to Reproduce:
1.Create a document in Microsoft Word with a header that includes elements such as left-, center-, or right‑aligned text, tab stops, indentation, fields (like page number or date), shapes, or an image/logo.
2.Save the document in DOCX format.
3.Open the file in LibreOffice Writer, where the header appears misaligned.

Actual Results:
The content in the header is not positioned correctly, and the text and images within it overlap.

Expected Results:
LibreOffice should render the headers exactly as they appear in Microsoft Word.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 25.8.4.2 (X86_64)
Build ID: 290daaa01b999472f0c7a3890eb6a550fd74c6df
CPU threads: 20; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
Comment 1 Ravi Jammikunta 2025-12-23 11:14:50 UTC
Created attachment 204763 [details]
Issue - Docx file
Comment 2 Ravi Jammikunta 2025-12-23 11:15:11 UTC
Created attachment 204764 [details]
output screenshots
Comment 3 m_a_riosv 2025-12-23 15:28:45 UTC
Maybe a duplicate of https://bugs.documentfoundation.org/show_bug.cgi?id=95228
Comment 4 raal 2025-12-28 08:02:12 UTC
Confirm Version: 26.8.0.0.alpha0+ (X86_64)
Build ID: 7cbc16bf6e115d2aaabe9b9b20edd66a5c597571
CPU threads: 4; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded

and Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)