Bug 120144 - Footer (containing a table) with following text doesn't fit in Writer
Summary: Footer (containing a table) with following text doesn't fit in Writer
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
: 141233 (view as bug list)
Depends on:
Blocks: DOCX-Header-Footer DOC-Header-Footer
  Show dependency treegraph
Reported: 2018-09-26 22:12 UTC by Aron Budea
Modified: 2021-07-23 07:04 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:
Regression By:

Sample DOCX (16.13 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2018-09-26 22:12 UTC, Aron Budea
Sample DOC (28.00 KB, application/msword)
2018-09-26 22:13 UTC, Aron Budea
PDF exported from DOCX in Word (81.01 KB, application/pdf)
2018-09-26 22:13 UTC, Aron Budea

Note You need to log in before you can comment on or make changes to this bug.
Description Aron Budea 2018-09-26 22:12:11 UTC
Created attachment 145193 [details]
Sample DOCX

The attached DOCX was created in Word, and contains a footer with a table and two lines of text.
In Writer, the last line of text doesn't fit on page.

Observed using LO 6.2 daily build (2018-09-22, 8b1501d80dc9d3f42c351c6e026fa737e116cae5), / Windows 7.
In 3.5.0 the table isn't imported in the footer.
Comment 1 Aron Budea 2018-09-26 22:13:15 UTC
Created attachment 145194 [details]
Sample DOC

Same file saved as DOC.
Comment 2 Aron Budea 2018-09-26 22:13:52 UTC
Created attachment 145195 [details]
PDF exported from DOCX in Word
Comment 3 Dieter 2018-09-27 07:22:04 UTC
I confirm it with

Version: (x64)
Build ID: 62cd86977ca41677c56fb2d1f97bb1c5cbdbd416
CPU threads: 4; OS: Windows 10.0; UI render: GL; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-09-20_02:34:32
Locale: en-US (de_DE); Calc: CL

I think it's perhaps a problem with Autofit height:
1. Open format footer
2. disable Autofit height and change height to 1,2 cm => Apply
3. Enable Autofit height => Apply
Comment 4 Mike Kaganski 2018-11-27 08:26:45 UTC
Steps to reproduce from scratch:

1. Create a new text document in Writer.
2. Add a footer.
3. Insert a 2-row table into the footer.
4. Below the footer, add 2 lines of text (like "test<ENTER>test")
5. Format footer to have spacing 0, no dynamic spacing, height 1 mm, and use AutoFit Height.

=> the last line hides (doesn't fit into the footer).

The both *spacing* settings are not really relevant here, and mentioned just to have stable setup. The problem is also reproducible with non-0 dynamic spacing, as seen in the original bugdoc.

Interesting that increasing footer height up to 9 mm keeeps the problem; setting it to 10 mm makes the problem disappear.

Note that the problem is not specific to file format; nor to fonts.
Comment 5 NISZ LibreOffice Team 2021-07-23 07:03:46 UTC
*** Bug 141233 has been marked as a duplicate of this bug. ***