Bug 160958 - Hidding section covering at least two pages doesn't work properly
Summary: Hidding section covering at least two pages doesn't work properly
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.8.0.0 alpha0+ Master
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Section DOCX-Floatingtable
  Show dependency treegraph
 
Reported: 2024-05-06 11:48 UTC by Patrick Charlot
Modified: 2024-05-10 20:11 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments
Doc reprocing the bug (12.44 KB, application/vnd.oasis.opendocument.text)
2024-05-06 11:51 UTC, Patrick Charlot
Details
Other doc reproducing the bug (12.79 KB, application/vnd.oasis.opendocument.text)
2024-05-06 11:51 UTC, Patrick Charlot
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Charlot 2024-05-06 11:48:58 UTC
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>
Comment 1 Patrick Charlot 2024-05-06 11:51:12 UTC
Created attachment 193992 [details]
Doc reprocing the bug
Comment 2 Patrick Charlot 2024-05-06 11:51:47 UTC
Created attachment 193993 [details]
Other doc reproducing the bug
Comment 3 m_a_riosv 2024-05-06 12:20:55 UTC
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
Comment 4 m_a_riosv 2024-05-06 23:01:12 UTC
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
Comment 5 gladys 2024-05-09 17:10:52 UTC Comment hidden (obsolete)
Comment 6 Buovjaga 2024-05-10 05:42:00 UTC Comment hidden (obsolete)
Comment 7 gladys 2024-05-10 16:16:08 UTC
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