Bug 149564 - FILEOPEN DOCX Large frame in header overlaps frame in footer
Summary: FILEOPEN DOCX Large frame in header overlaps frame in footer
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.4.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:docx
Depends on:
Blocks: DOCX-Header-Footer
  Show dependency treegraph
 
Reported: 2022-06-14 16:37 UTC by Gabor Kelemen (allotropia)
Modified: 2023-01-19 08:50 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
The example file in Word 2016 and Writer master with the footer (103.80 KB, image/png)
2022-06-14 16:37 UTC, Gabor Kelemen (allotropia)
Details
strace log 149564 (25.01 KB, text/plain)
2022-06-20 06:41 UTC, vis_qa
Details
screenshot 149564 (100.64 KB, image/jpeg)
2022-06-20 06:43 UTC, vis_qa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen (allotropia) 2022-06-14 16:37:34 UTC
Created attachment 180764 [details]
The example file in Word 2016 and Writer master with the footer

This is a continuation of bug 149563

The table content of the header in attachment 180759 [details] is very tall, so much that it overlaps the content in the footer.
The header and footer have negative page margin set, so their content is imported into textframes. However the Z-order of these textframes is incorrect. 
In Word the footer content overlaps the header content, while in Writer the header content overlaps the footer content.

1, Open attachment 180759 [details] 
2, Notice that the blue background table in the footer is barely visible in Writer, but fully visible in Word.

This started in 7.2 with fixing of bug 119952 - before these were not even visible, so differently bad.

Version: 7.5.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: c0e66cfab12d6c78d68af09498533362724dbd05
CPU threads: 14; OS: Windows 10.0 Build 19044; UI render: default; VCL: win
Locale: en-US (hu_HU); UI: en-US
Calc: threaded
Comment 1 vis_qa 2022-06-20 06:40:22 UTC
reproduce:

Version: 7.3.4.2 / LibreOffice Community
Build ID: 30(Build:2)
CPU threads: 4; OS: Linux 3.18; UI render: default; VCL: x11
Locale: en-US (C); UI: en-US
Debian package version: 1:7.3.4~rc2-1
Calc: threaded

* attaching screenshot, strace (if wrong, let me know ;))
Comment 2 vis_qa 2022-06-20 06:41:36 UTC
Created attachment 180844 [details]
strace log 149564
Comment 3 vis_qa 2022-06-20 06:43:13 UTC
Created attachment 180845 [details]
screenshot 149564