Bug 126011 - Maximum header height and maximum footnote height conflict
Summary: Maximum header height and maximum footnote height conflict
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.2.4.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Header-Footer Page-Style-Dialog Footnote-Endnote-Properties
  Show dependency treegraph
 
Reported: 2019-06-19 17:19 UTC by Ormes Liivak
Modified: 2023-07-26 13:33 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ormes Liivak 2019-06-19 17:19:55 UTC
Description:
Having set the maximum footnote height to the maximum allowed value and then enabling headers at maximum allowed height causes the footnotes to not be shown and span several pages.
This can also update the maximum footnote height to a negative value if margins are disabled for the page.

Steps to Reproduce:
The below uses centimeters as the measurement units, but the issue reproduces with other measurement units as well.
1. Open new document
2. Right click the page and select Page...
3. Select the Footnote tab, 
4. Enable the Maximum footnote height and set it to 20.36cm
5. Press OK to apply the change and close the dialog
6. Enter some text in the document, highlight it, and select Insert > Footnote and Endnote > Footnote
7. Add text to the footnote so that it spans to the next page. 
8. Right click on the document and select Page...
9. Select the Header tab and tick "Header on"
10. Enter the value 20.06 in the Height field and deselect it to note that the value is accepted.
11. Click OK to apply the header height change

Actual Results:
The footnote is no longer visible on any of the pages.
The two page document has still changed into 56 page document.

If the margins are now reduced to 1cm and header height increased again to 23.26, the maximum footnote height is translated to -19.21cm.

Expected Results:
Header height cannot be set to a value that conflicts with other already configured values.
Footnote is displayed unless it has no content.
Footnote height can never be a negative value.


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Version: 6.2.4.2 (x64)
Build ID: 2412653d852ce75f65fbfa83fb7e7b669a126d64
CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win; 
Locale: en-GB (en_GB); UI-Language: en-GB
Calc: CL
Comment 1 Dieter 2019-06-20 11:52:42 UTC
I confirm it with

Version: 6.4.0.0.alpha0+ (x64)
Build ID: b170256fb6ebaf774b02b89835b19d9f3a1afb89
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2019-06-07_03:30:35
Locale: de-DE (de_DE); UI-Language: en-US
Calc: threaded
Comment 2 Heiko Tietze 2019-08-02 09:57:06 UTC
Don't see need for input from UX. The maximum value has to depend not only on page properties but also the value of header or footer, respectively.
Comment 3 BogdanB 2019-08-02 10:08:41 UTC
From my point of view if a page consist from header + body + footer, than if I edit header the maximum height available is: page size minus footer size minus 1-2 cm for body (minimum).
Comment 4 Dieter 2021-07-02 07:58:23 UTC
Retested with

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 949658028e722e5d2657b503eb20e16e41dbd8cf
CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

1. Open new document
2. Right click the page and select Page...
3. Select the Footnote tab, 
4. Enable the Maximum footnote height and set it to 20.36cm
5. Press OK to apply the change and close the dialog
6. Enter some text in the document, highlight it, and select Insert > Footnote and Endnote > Footnote
7. Add text to the footnote

Result: Document has three pages
 
8. Right click on the document and select Page...
9. Select the Header tab and tick "Header on"
10. Enter the value 20.06 in the Height field and deselect it to note that the value is accepted.
11. Click OK to apply the header height change

Result: Document has still three pages and footnote is visible

So little improvement, but conflict between height of header and footer ist still there
Comment 5 QA Administrators 2023-07-03 03:11:54 UTC Comment hidden (obsolete)
Comment 6 Dieter 2023-07-26 13:33:24 UTC
Result with

Version: 7.6.0.1 (X86_64) / LibreOffice Community
Build ID: 776eaf34564cbf3f034a0ba1fd1d5c32ff9ccf1c
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL threaded

1. Open new document
2. Right click the page and select PageStyle
3. Select the Footnote Tab 
4. Enable the Maximum footnote height and set it to 20.36cm
5. Press OK to apply the change and close the dialog
6. Enter some text in the document -> Insert > Footnote and Endnote > Footnote
7. Add text to the footnote
8. Right click on the document and select PageStyle
9. Select the Header tab and tick "Header on"
10. Enter the value 20.06 in the Height field and deselect it to note that the value is accepted.
11. Click OK to apply the header height change
12. In Footnote tab see, that maximum footnot height changed to 3,91 cm (O.K.)

Actual result:
Document has now three pages with footnote on page three

Expected result:
Better harmony of height of header, footnote and page area (Header 19,4 cm and Footnote Area 3,91 cm fits to one page)