Bug 153098 - LO skips the 1st column of 2nd section when sections have heading with Column Break Before text flow, while loading the document
Summary: LO skips the 1st column of 2nd section when sections have heading with Column...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.5.0 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Page-Layout-Columns
  Show dependency treegraph
 
Reported: 2023-01-18 22:02 UTC by Pols12
Modified: 2024-09-19 17:53 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample issuing document: column breaks skipping first column (9.30 KB, application/vnd.oasis.opendocument.text)
2023-01-18 22:04 UTC, Pols12
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pols12 2023-01-18 22:02:47 UTC
Description:
When you use “Column Break before” Text Flow for headings in two-columns layout sections, LibreOffice skip unexpectedly the first column for some sections while loading the document, whereas it did not skip it while creating the document.

Steps to Reproduce:
Short reproduction: open attached document.

1. Create the following document:

```
The first section starts after this paragraph

== H1 ==
Paragraph of h1

== H2 ==
Paragraph of h2

Paragraph outside of section 1. The second section starts after this paragraph.

== H3 ==
Paragraph of h3

== H4 ==
Paragraph of h4

The second section ends before this paragraph.
```

2. Add a two-columns layout for first section (H1 and H2) and second section (H3 and H4).

3. For all headings, check Paragraph → Text Flow → Breaks → Insert: Column Before

4. Save the document. Close it. Reopen it.


Actual Results:
Heading3 displays in second column, the first column of its section is skipped.

Expected Results:
Closing and re-opening the document should not produce any change.
Heading3 should display in 1st column, as Heading1 is.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Tested with:
* LibreOffice 7.3.7 on Windows 10
* LibreOffice 7.0.4 on Debian
Comment 1 Pols12 2023-01-18 22:04:25 UTC
Created attachment 184766 [details]
Sample issuing document: column breaks skipping first column
Comment 2 Lesline 2023-01-31 00:11:54 UTC
Good Afternoon.

Thank you for reporting the bug.  Following the steps provided, I was unable to reproduce the bug.  The builds used for testing this bug were:

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: d07b1cc8148140bd3a78103da668d002b9d266ab
CPU threads: 8; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded


Version: 7.4.3.2 (x64) / LibreOffice Community
Build ID: 1048a8393ae2eeec98dff31b5c133c5f1d08b890
CPU threads: 8; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded

Kind Regards
Comment 3 Pols12 2023-01-31 12:28:00 UTC
Thank you Lesline.
The reproduction steps are maybe not enough clear.

While opening the attached document, don’t you notice an unexpectedly empty left column just before H3?

I have upgraded my LibreOffice on Windows (see below) and I still meet this bug.

Version: 7.4.5.1 (x64) / LibreOffice Community
Build ID: 9c0871452b3918c1019dde9bfac75448afc4b57f
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: fr-FR (fr_FR); UI: fr-FR
Calc: threaded
Comment 4 Buovjaga 2023-03-22 14:00:34 UTC
I reproduce from scratch.

Arch Linux 64-bit, X11
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 74f398bb58510087cc4a11bb2253715771a2c6b2
CPU threads: 8; OS: Linux 6.2; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 22 March 2023
Comment 5 Buovjaga 2024-09-19 17:53:56 UTC
Still repro. In 3.5 the unwanted result is displayed immediately without needing to save.

Arch Linux 64-bit
Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: d500848976b6244048684a9972322b582559910a
CPU threads: 8; OS: Linux 6.10; UI render: default; VCL: kf6 (cairo+wayland)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: CL threaded
Built on 19 September 2024