Bug 131080 - FORMATTING: Inserting a section with columns on a paragraph with line breaks, and one column per line, causes LO Writer to hang
Summary: FORMATTING: Inserting a section with columns on a paragraph with line breaks,...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.0.7.3 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Page-Layout-Columns
  Show dependency treegraph
 
Reported: 2020-03-02 22:38 UTC by brunoveilleux
Modified: 2024-03-02 09:59 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
The first paragraph demonstrates the bug (19.07 KB, application/vnd.oasis.opendocument.text)
2020-03-02 22:40 UTC, brunoveilleux
Details

Note You need to log in before you can comment on or make changes to this bug.
Description brunoveilleux 2020-03-02 22:38:29 UTC
Description:
When dealing with a paragraph that contains 3 lines separated by line breaks (not paragraph breaks), if I try to break it into exactly 3 columns by inserting a section with the default settings (auto width and evenly-distributed content), Writer hangs. Reproduces every time, but only with this combination of content and settings.

Steps to Reproduce:
This seems to happen only in specific circumstances, so I’m attaching a test file. I’ll call "test paragraph" the area at the top with this following text:
Préparation : 30 minutes
Cuisson : 10 minutes
Donne 36 tranches

Note that the first two lines end with a line break; the last line ends with a paragraph break.

1. Select the test paragraph.
2. Go to Insert > Section, in the Columns tab.
3. Set the number of columns to 3. Leave other options unchanged (auto width on, even distribution of content on; not sure how those appear in the English interface).
4. Click Insert.

Actual Results:
LibreOffice maxes out a CPU core and hangs indefinitely.

Expected Results:
Columns should be inserted normally.


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
This bug seems extremely specific. If I make it 2 or 4 columns, it works. If I untick either auto-width or even content distribution, it works. If I only select two of the lines, it works (even if I make it 2 columns). If I change the line breaks to paragraph breaks, it works.


Version: 6.0.7.3
Build ID: 1:6.0.7-0ubuntu0.18.04.10
Threads CPU : 4; OS : Linux 4.15; UI Render : default; VCL: gtk3; 
Locale : fr-CA (fr_CA.UTF-8); Calc: group
Comment 1 brunoveilleux 2020-03-02 22:40:00 UTC
Created attachment 158320 [details]
The first paragraph demonstrates the bug
Comment 2 Ming Hua 2020-03-02 23:08:42 UTC
Reproduced with the attached example file in 6.3.5:

Version: 6.3.5.2 (x64)
Build ID: dd0751754f11728f69b42ee2af66670068624673
CPU threads: 2; OS: Windows 10.0; UI render: default; VCL: win; 
Locale: zh-CN (zh_CN); UI-Language: en-US
Calc: threaded

Setting to NEW.
Comment 3 QA Administrators 2022-03-03 03:40:12 UTC Comment hidden (obsolete)
Comment 4 brunoveilleux 2022-03-03 05:15:19 UTC
I’d rather not replace the version provided by my OS’s software manager, but this still occurs in 6.4.7.2 with the original test file.
Comment 5 Sophie Sipasseuth 2024-03-02 09:59:58 UTC
Repro with this version of LibreOffice :

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: fc9c15ec702d8a06e8747ee5b858751e5a90e30a
CPU threads: 8; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win
Locale: fr-FR (fr_FR); UI: en-US
Calc: threaded