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: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: DOCX-Header-Footer DOC-Header-Footer
  Show dependency treegraph
 
Reported: 2018-09-26 22:12 UTC by Aron Budea
Modified: 2023-11-04 17:03 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


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

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), 4.0.0.3 / 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: 6.2.0.0.alpha0+ (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. ***
Comment 6 QA Administrators 2023-07-24 03:13:15 UTC Comment hidden (obsolete, spam)
Comment 7 Dieter 2023-07-26 10:49:35 UTC
Retested with steps from comment 4 and can't confirm 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

=> RESOLVED WORKSFORME
Comment 8 Justin L 2023-07-27 18:17:52 UTC
This unseen Test1 and Test2 in the first page header of comment0 and comment1 attachments, so it is not WORKSFORME. Tested with bibisect-linux-7.6 and bibisect-linux-24.2.
Comment 9 Justin L 2023-08-23 12:22:28 UTC
Fixed in 7.6.1 thanks to bug 137523 and mstahl.