https://bugs.documentfoundation.org/show_bug.cgi?id=164747

            Bug ID: 164747
           Summary: WRITER: widow/orphan disabled in footnotes
           Product: LibreOffice
           Version: 24.8.4.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 198595
  --> https://bugs.documentfoundation.org/attachment.cgi?id=198595&action=edit
Widow note line on next page

Widow/orphan controls in paragraph styles are used to dictate how many lines of
a split paragraph are tolerated at bottom (orphan) and top (widow) of pages.

It looks like these parameters are not taken into account in footnotes.

In the attached document, note 3 is the last one on the page. It is 3 lines
long. Unfortunately there is room for only 2 lines and line 3 (a single word!)
is flushed into next page note area.

If widow setting were applied, the whole note would have been flushed to next
page.

I understand that the matter may be more complicated because note 3 anchopr is
located on the **last** line of text in the page which incidentally is also the
last line of the paragraph.

There are then 2 possibilities:

- the note is simply flushed to next page
The settings turn the note into an atomic 3-line block. But this sets the
anchor and note on separate pages which Writer tries to avoid (except when
footnote area overflows as a consequence of note volume).

- the note and its anchor are flushed to next page
This may cause other issues in cascade. Here the anchor is on the last line.
Consequently, this last line can't be moved without consideration for widow
parameter. With the paragraph style configuration, 2 lines must be moved to
avoid a widow. Doing so, reduces the height of the paragraph and orphan
parameter must also be looked at. If it is "violated", the full paragraph must
be moved.

The attached document is an excerpt of a very large work. This widow/orphan
problem occurs many times. Since there is a publishing deadline, I'd like to
find a workaround.

Version: 24.8.4.2 (X86_64)
Build ID: 480(Build:2)
CPU threads: 4; OS: Linux 6.12; UI render: default; VCL: kf6 (cairo+wayland)

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to