Bug 164857 - Footnote continuing to the next chapter
Summary: Footnote continuing to the next chapter
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.8.4.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Footnote-Endnote
  Show dependency treegraph
 
Reported: 2025-01-26 06:10 UTC by ardv
Modified: 2025-01-27 06:53 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
example (35.71 KB, application/vnd.oasis.opendocument.text)
2025-01-26 06:10 UTC, ardv
Details
Demo document (50.52 KB, application/vnd.oasis.opendocument.text)
2025-01-26 07:20 UTC, BogdanB
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ardv 2025-01-26 06:10:17 UTC
Created attachment 198771 [details]
example

if i have a long footnote, the next chapter should not be shown just if the first chapter ends with all its notes (like in MS office)

example attached
Comment 1 BogdanB 2025-01-26 07:20:14 UTC
I confirm this bug

I have a much simpler document in which this bug can be seen easier.

Version: 25.2.0.3 (X86_64) / LibreOffice Community
Build ID: e1cf4a87eb02d755bce1a01209907ea5ddc8f069
CPU threads: 16; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded
Comment 2 BogdanB 2025-01-26 07:20:29 UTC
Created attachment 198772 [details]
Demo document
Comment 3 ajlittoz 2025-01-26 08:45:36 UTC
Duplicate of bug 73977
Comment 4 BogdanB 2025-01-26 08:58:36 UTC
If this would be a duplicate, the title of that should be changed. It's not arabis specific, and can be seen with my demo document.
Comment 5 ardv 2025-01-26 10:35:50 UTC
(In reply to ajlittoz from comment #3)
> Duplicate of bug 73977

this bug is not the same as that one.
that one is for increasing the footnote area and this is about separating each section with its footnotes from the next section.
one section could have footnotes with a small area but separated from the next section.
Comment 6 Mike Kaganski 2025-01-27 06:53:43 UTC
1. "like in MS office"

A reference document is needed, along with the MS Office version specification, and the screenshots / PDF of the MS Word rendering, to track this *interoperability* issue. As mentioned in https://ask.libreoffice.org/t/footnote-continuing-to-the-next-chapter/117148/5, some testing couldn't easily clarify what exactly is the perceived difference between the Word and Writer behaviors - it may happen, that that indeed is bug 73977.

2. It needs further specification. On a page like

  Chapter 1

  text text text
  text [1] text
  text.

  Chapter 2

  text text text
  text text text
  text.

  ---
  [1] A short footnote.

it is *completely normal* that the footnote appears *after* the next chapter has started. Indeed, it is clear that we talk about a chapter starting on the next page (presumably, using the paragraph's "break before" feature) - but then, is this to require all explicit page breaks to flush the footnotes? only those inserted by the paragraph style? Only those where the paragraph style is in Heading Numbering? Only those that have a dedicated newly introduced property?

Then is it required that the "flush" happens fully *before* the break happens - i.e., can the *last* part of a footnote to appear on the first page of the next chapter, or not?

Generally, *if* the Word behavior is considered satisfactory, *and* it will be clarified that indeed the Word behavior is that of bug 73977, then my suggestion would be to *not* introduce more flexibility without a real need, and mark this as a duplicate of that.