Created attachment 188923 [details] Screenshot of the example file saved with 7.4 and 24.2 In command line PDF export mode attachment 153918 [details] layout changes: on page 5 an unexpected page break appears between the first and second level of numbered paragraphs, making the total number of pages 22 instead of 21. 1. Download attachment 69599 [details] 2. in CLI save as PDF: --convert-to pdf -> Layout changes, page 5 is mostly empty and total number of pages is 22. Works fine from UI. Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 0d571ff8079f858a5650bf6cbb38296d22cc58e1 CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3 Locale: hu-HU (hu_HU.UTF-8); UI: en-US Calc: threaded Started in 7.5 with: https://cgit.freedesktop.org/libreoffice/core/commit/?id=425a252c3cc5e5a79a533965026dd4af6b8df739 author Michael Stahl <michael.stahl@allotropia.de> 2023-05-12 17:45:45 +0200 committer Thorsten Behrens <thorsten.behrens@allotropia.de> 2023-06-27 11:28:49 +0200 commit 425a252c3cc5e5a79a533965026dd4af6b8df739 (patch) tdf#155324 sw: layout: try not to MoveFwd onto a page created by page break
Created attachment 188924 [details] Bad export PDF from fresh linux-bibisect 24.2
the bugdoc in the description is copypasta, the correct one is fdo56431-6.odt
Michael Stahl committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/802d748d9ce5541dc54a0369910a442afeeaa43e tdf#156727 sw: layout: allow MoveBwd if previous has keep-with-next It will be available in 24.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
fixed on master
Michael Stahl committed a patch related to this issue. It has been pushed to "libreoffice-7-6": https://git.libreoffice.org/core/commit/9b6a4fcc010bdb740a5b3581a47327f45ee05718 tdf#156727 sw: layout: allow MoveBwd if previous has keep-with-next It will be available in 7.6.1. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.