Description: When a section spanning two (or more) pages is hidden, rendering inserts a sort of page break. The paragraph following the hidden section is rendered on the next page when it should have been on the same page as the one before the section. This occurs in LO 24.2.2 and 24.2.3, but not in 24.2.1. Steps to Reproduce: 1.Open a new doc and enter two or more paragraphs 2.create a section and enter paragraphs that make a page break 3.enter other paragraphs after the section 4.then hide the section Actual Results: Paragraphs which are after the section are set on the second page instead of the first one. Expected Results: Paragraphs which are after the hidden section should be in the first page, just after the paragraphs which are before the section. Reproducible: Always User Profile Reset: No Additional Info: You can have a look at the doc reproducing the problem here : https://www.cjoint.com/c/NEgiLskSERO <https://www.cjoint.com/c/NEgiLskSERO>
Created attachment 193992 [details] Doc reprocing the bug
Created attachment 193993 [details] Other doc reproducing the bug
Reproducible Version: 24.2.3.2 (X86_64) / LibreOffice Community Build ID: 433d9c2ded56988e8a90e6b2e771ee4e6a5ab2ba CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: default; VCL: win Locale: es-ES (es_ES); UI: en-US Calc: CL threaded
Last working for me Version: 24.2.0.0.alpha1 (X86_64) / LibreOffice Community Build ID: 06946980c858649160c634007e5fac9a5aa81f38 CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: Skia/Vulkan; VCL: win Locale: es-ES (es_ES); UI: en-US Calc: CL threaded
it seems that commit: f461853b11439c4e485a79174d34735395e5bf52 might be responsable for it. Similar ticket 160843 is similar.
(In reply to gladys from comment #5) > it seems that commit: f461853b11439c4e485a79174d34735395e5bf52 might be > responsable for it. > Similar ticket 160843 is similar. The result is not correct.
bibisect windows10, version 24.8 to 0c96119895b347f8eb5bb89f393351bd3c02b9f1 tdf#159565 prerequisite: make hidden sections have zero-height frames Date: Fri Feb 09 11:56:19 2024 +0600
sw/qa/extras/ooxmlexport/data/ooo96040-2.odt is another example.
https://gerrit.libreoffice.org/c/core/+/168235
Mike Kaganski committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/c60ad7e0fbf3cc86af167f5e98b38c25620ada7e tdf#160958: merge hidden section's follows; move first-on-page section back It will be available in 24.8.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.
Mike Kaganski committed a patch related to this issue. It has been pushed to "libreoffice-24-2": https://git.libreoffice.org/core/commit/f660e0de223741f57d01c30fc7f8ce1bdad0b6e0 tdf#160958: merge hidden section's follows; move first-on-page section back It will be available in 24.2.5. 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.