Bug 146347

Summary: FILEOPEN DOCX: Document gets 67 pages instead of 14 caused by auto fit height of header
Product: LibreOffice Reporter: Telesto <telesto>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: xiscofauli
Priority: medium Keywords: filter:docx
Version: 5.0 all versions   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 104522    
Attachments: Example file

Description Telesto 2021-12-21 10:50:32 UTC
Description:
FILEOPEN DOCX: Document gets 67 pages instead of 14 caused by auto fit height of header

Steps to Reproduce:
1. Open the attached file
2. Notice odd 67 page layout
3. Format -> PageStyle -> Header tab 
4. uncheck autofit height

Actual Results:
67 pages document 

Expected Results:
14 page document


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: b9c159361abd79862b30412c433fb355d63299e2
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL
Comment 1 Telesto 2021-12-21 10:57:54 UTC
Created attachment 177051 [details]
Example file
Comment 2 Xisco FaulĂ­ 2021-12-21 11:34:15 UTC
Reproduced in

Version: 7.3.0.0.beta1+ / LibreOffice Community
Build ID: 86f539a23b08d0cc9e5e9566ac31380e373be13f
CPU threads: 4; OS: Linux 5.10; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

and

Version: 6.4.0.0.alpha1+
Build ID: 9bc848cf0d301aa57eabcffa101a1cf87bad6470
CPU threads: 4; OS: Linux 5.10; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded

in

Version: 4.5.0.0.alpha0+
Build ID: 2851ce5afd0f37764cbbc2c2a9a63c7adc844311
Locale: en_US

the document has 20 pages. kind of a regression
Comment 3 Xisco FaulĂ­ 2021-12-21 11:35:53 UTC
> Version: 4.5.0.0.alpha0+
> Build ID: 2851ce5afd0f37764cbbc2c2a9a63c7adc844311
> Locale: en_US
> 
> the document has 20 pages. kind of a regression

nop, I was wrong, after a while, the document is 54 pages long...
Comment 4 Telesto 2021-12-21 12:36:37 UTC
@Xisco
There is a 98% change that the document previously used on a bug report. I tried filename search, but I can't get any hits :-(