Bug 98287 - Mixing footnotes between sections leads to unwanted page break after the first footnote and pushes the second footnote to the next page
Summary: Mixing footnotes between sections leads to unwanted page break after the firs...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Footnote-Endnote
  Show dependency treegraph
 
Reported: 2016-03-01 00:09 UTC by Michael Fiedler
Modified: 2024-11-16 06:23 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
test document (10.93 KB, application/vnd.oasis.opendocument.text)
2016-03-01 00:09 UTC, Michael Fiedler
Details
observed behaviour (9.19 KB, application/pdf)
2016-03-01 00:10 UTC, Michael Fiedler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Fiedler 2016-03-01 00:09:25 UTC
Created attachment 123095 [details]
test document

Steps to reproduce:

1. Open the attached document. It contains the title at the beginning, followed by a two-column section for the text.
2. Add a footnote after the title. It is placed as expected below the first column of the two-column section.
3. Add a footnote after the text.


Expected behaviour:

The second footnote appears directly below the first footnote in the first column.


Observed behaviour:

A page break is inserted before the text. The first footnote appears on the first page, the text and the second footnote appear on the second page.


Environment:

Debian Linux 8.3 Jessie (x86)
LibreOffice 5.1.0.3-3 (from libreoffice.org)
LibreOffice 4.3.3-2+deb8u2 (from Debian)
Comment 1 Michael Fiedler 2016-03-01 00:10:00 UTC
Created attachment 123096 [details]
observed behaviour
Comment 2 Buovjaga 2016-03-17 12:05:42 UTC

*** This bug has been marked as a duplicate of bug 54465 ***
Comment 3 Cor Nouws 2016-07-04 12:31:55 UTC
this is not a duplicate of bug 54465 - that describes where column size (or content, bug 58794) changes with footnotes.
This issue describes that a second footnote appears on a second page.
Comment 4 Cor Nouws 2016-07-04 12:37:01 UTC
Still an issue in Version: 5.3.0.0.alpha0+
Build ID: cc503abb860c33a54a188640a5962dbdf7052284
CPU Threads: 2; OS Version: Linux 4.4; UI Render: default; 
TinderBox: Linux-rpm_deb-x86@71-TDF, Branch:master, Time: 2016-07-04_00:55:33
Locale: nl-NL (nl_NL.UTF-8)
The same problem in LO 3.3.4 > Inherited from OOo
Comment 5 Cor Nouws 2016-07-04 12:46:45 UTC
(In reply to Cor Nouws from comment #3)
> this is not a duplicate of bug 54465 - that describes where column size (or
> content, bug 58794) changes with footnotes.
> This issue describes that a second footnote appears on a second page.

Ah well, sort of the same as bug 54465 of course.
The special thing here is that only adding a footnote in the section with columns without adding one behind the title - before the section with columns, does not show the problem..
Comment 6 Cor Nouws 2016-07-04 12:50:38 UTC
(In reply to Cor Nouws from comment #5)
> (In reply to Cor Nouws from comment #3)
> > this is not a duplicate of bug 54465 - that describes where column size (or
> > content, bug 58794) changes with footnotes.
> > This issue describes that a second footnote appears on a second page.
> 
> Ah well, sort of the same as bug 54465 of course.
> The special thing here is that only adding a footnote in the section with
> columns without adding one behind the title - before the section with
> columns, does not show the problem..

So actually this issue shows both the problem from 54465 ánd the problem in the issue's summary :)
Comment 7 QA Administrators 2019-03-15 03:56:00 UTC Comment hidden (obsolete)
Comment 8 Babak Razmjoo 2019-03-27 12:32:40 UTC
This bug is still present in
Version: 6.2.2.2
Build ID: 2b840030fec2aae0fd2658d8d4f9548af4e3518d
CPU threads: 1; OS: Linux 5.0; UI render: default; VCL: x11; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded
Comment 9 QA Administrators 2021-03-27 04:08:02 UTC Comment hidden (obsolete)
Comment 10 Alois Klotz 2022-04-14 07:40:22 UTC
This bug is still present in
Version: 7.3.2.2 (x64) / LibreOffice Community
Build ID: 49f2b1bff42cfccbd8f788c8dc32c1c309559be0
CPU threads: 12; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: de-DE
Calc:
Comment 11 QA Administrators 2024-04-14 03:15:54 UTC Comment hidden (obsolete)
Comment 12 Alistair Saywell 2024-11-14 05:03:01 UTC
This issue still exists, see question at https://ask.libreoffice.org/t/two-columns-footnote-breaking-page-unnecessary/113838

Version: 24.8.2.1 (X86_64) / LibreOffice Community
Build ID: 0f794b6e29741098670a3b95d60478a65d05ef13
CPU threads: 8; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Raster; VCL: win
Locale: en-NZ (en_NZ); UI: en-GB
Calc: CL threaded
Comment 13 Kjell Edvard Medhaug 2024-11-14 12:54:14 UTC
Also, working on the sample document from the Q/A site, Question thread linked by Alistair Saywell in comment 12:

The issue seems to be triggered by footnotes at or near the end of section content. Adding a trailing newline to the last paragraph, or adding a trailing paragraph, fixes the layout in many cases, but not always.

Being a text flow case, the issue is affected by widows/orphans setting. Enabling/disabling those in the text body style changes the layout significantly. The behavior is not consistent. Sometimes better, sometimes worse. Adding a footnote to the end of content in Section 1 does not affect layout much in the original document, but messes up the layout when widow/orphan control is disabled (which somewhat improves the reported original issue for that document).

The use of mixed LTR/RTL content does not appear to have any impact. Not thoroughly tested.
Use skia rendering or disable it makes no difference.

Link to the document attached in the Q/A site:
https://ask.libreoffice.org/uploads/short-url/58RMnu4P4ytjHN97UZ1CSlpWSfB.odt

My observations are identical from two versions of the suite:
---
Version: 7.5.8.2 (X86_64) / LibreOffice Community
Build ID: f718d63693263970429a68f568db6046aaa9df01
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: nb-NO (nb_NO); UI: nb-NO
Calc: threaded
---
Version: 24.8.3.2 (X86_64) / LibreOffice Community
Build ID: 48a6bac9e7e268aeb4c3483fcf825c94556d9f92
CPU threads: 8; OS: Windows 10 X86_64 (10.0 build 19045); UI render: Skia/Raster; VCL: win
Locale: nb-NO (nb_NO); UI: nb-NO
Calc: threaded