Bug 137112

Summary: Header Spacing dialog setting behave as expected or different for docx
Product: LibreOffice Reporter: Telesto <telesto>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED INVALID    
Severity: normal CC: ilmari.lauhakangas, libreoffice
Priority: medium    
Version: 7.1.0.0.alpha0+   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=137111
https://bugs.documentfoundation.org/show_bug.cgi?id=142319
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 104522    

Description Telesto 2020-09-29 06:51:27 UTC
Description:
Header Spacing diakog setting behave as expected or different for docx

Steps to Reproduce:
1. Open attachment 165932 [details]
2. Save as DOCX
3. File reload
4. Delete a few enter.. notice the header not shrinking
4, Format -> page style -> header tab
6. Uncheck dynamic spacing
7. Press apply
8. Set spacing to 0,50 cm and press ok
9. Format -> page style -> header tab notice the 2,84 being back

Actual Results:
Something not responding properly to the dialog

Expected Results:
Should work similar to odt


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.0.0.2
Build ID: c01aa64b6c3d89ebe5fe69c28c7adb24eb85249c
CPU threads: 4; OS: Mac OS X 10.12.6; UI render: default; VCL: osx
Locale: nl-NL (nl_NL.UTF-8); UI: en-US
Calc: threaded
Comment 1 jpkaroljason 2020-10-29 23:52:53 UTC
This is my libre office version:

Version: 7.0.2.2 (x64)
Build ID: 8349ace3c3162073abd90d81fd06dcfb6b36b994
CPU threads: 16; OS: Windows 10.0 Build 18362; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL

I was able to reproduce the first part in which the header did not shrink.

4. Delete a few enter.. notice the header not shrinking

I was unable to to reproduce the second part. It remained at 0.50 cm for me and did not revert back to 2.84 cm.
Comment 2 Buovjaga 2020-10-31 13:05:00 UTC
(In reply to Telesto from comment #0)
> Description:
> Header Spacing diakog setting behave as expected or different for docx
> 
> Steps to Reproduce:
> 1. Open attachment 165932 [details]
> 2. Save as DOCX
> 3. File reload
> 4. Delete a few enter.. notice the header not shrinking
> 4, Format -> page style -> header tab
> 6. Uncheck dynamic spacing
> 7. Press apply
> 8. Set spacing to 0,50 cm and press ok
> 9. Format -> page style -> header tab notice the 2,84 being back
> 
> Actual Results:
> Something not responding properly to the dialog
> 
> Expected Results:
> Should work similar to odt

The actual & expected results are not clear. Please explain them plainly.
Comment 3 NISZ LibreOffice Team 2020-12-07 14:26:07 UTC
(In reply to Telesto from comment #0)
> Description:
> Header Spacing diakog setting behave as expected or different for docx
> 
> Steps to Reproduce:
> 1. Open attachment 165932 [details]
> 2. Save as DOCX
> 3. File reload
> 4. Delete a few enter.. notice the header not shrinking
> 4, Format -> page style -> header tab
> 6. Uncheck dynamic spacing
> 7. Press apply
> 8. Set spacing to 0,50 cm and press ok
> 9. Format -> page style -> header tab notice the 2,84 being back
> 

I could reproduce the no-change if between steps 8 and 9 saved as DOCX and reloaded it. 
Then it is bad -> NEW, but maybe this is just a side effect of the vastly different header/footer models in Writer and Word.

However, if you do not uncheck Dynamic spacing in step 6 then it's good even after saving and reloading.
Comment 4 QA Administrators 2023-06-01 03:18:59 UTC Comment hidden (obsolete, spam)
Comment 5 Justin L 2023-06-14 14:41:33 UTC
An unactionable bug report.