Bug 148968

Summary: The first paragraph is broken on 2 pages because of footnote settings
Product: LibreOffice Reporter: BogdanB <buzea.bogdan>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: buzea.bogdan, hossein
Priority: medium    
Version: 3.5.0 release   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 103164, 107831    
Attachments: document for testing
Result from MS Word
strace

Description BogdanB 2022-05-06 16:37:30 UTC
Description:
The file I attached contains a long footnote which cause LibreOffice to break the paragraph 1 on 2 pages.

Version: 7.3.3.2 / LibreOffice Community
Build ID: d1d0ea68f081ee2800a922cac8f79445e4603348
CPU threads: 16; OS: Linux 5.13; UI render: default; VCL: gtk3
Calc: threaded

Steps to Reproduce:
1. Open the document

Actual Results:
On the page 1 is just partial of the paragraph 1

Expected Results:
The paragraph 1 should be toghether and when a footnote appear on the page, the footnote anchor should be on first page, also with it's references


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Comment 1 BogdanB 2022-05-06 16:38:04 UTC
Created attachment 179979 [details]
document for testing
Comment 2 BogdanB 2022-05-06 16:39:31 UTC
If I remove the text containg footnotes 2 to 9 everything is fine. Should not be like that.
Comment 3 Hossein 2022-05-06 22:09:20 UTC
First page is half blank, and only part of the first paragraph is visible on page 1. The rest is moved to page 2, which is wrong.

Reproducible with the latest LibreOffice 7.4 master:

Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: 18715f6a63af55045b108b98abeffeae8e51518b
CPU threads: 8; OS: Linux 5.13; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

Also reproducible with the LibreOffice 3.5:

LibreOffice 3.5.0rc3 
Build ID: 7e68ba2-a744ebf-1f241b7-c506db1-7d53735
Comment 4 Hossein 2022-05-06 22:14:36 UTC
Created attachment 179983 [details]
Result from MS Word

This is the result from converting the same odt file with MS Word (online) for a comparison. The first page is filled with text, and the footnote is divided between pages 1 and 2.
Comment 5 BogdanB 2022-08-21 04:41:28 UTC
Created attachment 181925 [details]
strace

I have attached the strace, if this helps.
Comment 6 BogdanB 2022-11-01 19:30:26 UTC
The same in
Version: 7.5.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: cfc8a8f5d841b3f84d207196153be67da7f60652
CPU threads: 16; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded
Comment 7 BogdanB 2023-04-28 17:34:16 UTC
The same in
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 424bdeda9fea09f0b48b5551baf872656845c7c3
CPU threads: 16; OS: Linux 5.19; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded
Comment 8 BogdanB 2023-08-03 18:57:06 UTC
The same.
Retested with
Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 0e17d8ddccdee7d4f46b256153853e1cab87c99e
CPU threads: 16; OS: Linux 5.19; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded
Comment 9 BogdanB 2024-06-10 18:13:09 UTC
Retested.
Also in
Version: 24.8.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 6d39b1a6068bbbd5ca4947f668f989dbfb73342d
CPU threads: 16; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded