Bug 158436 - Smart justify: layout loop while building portions
Summary: Smart justify: layout loop while building portions
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Paragraph
  Show dependency treegraph
 
Reported: 2023-11-29 09:49 UTC by Miklos Vajna
Modified: 2023-12-04 20:43 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Reproducer document (11.96 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2023-11-29 09:49 UTC, Miklos Vajna
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Miklos Vajna 2023-11-29 09:49:53 UTC
Created attachment 191109 [details]
Reproducer document

Steps to reproduce:

1. Open the attached file on master

2. Writer freezes
Comment 1 Miklos Vajna 2023-11-29 09:51:05 UTC
Bisecting with linux-64-24.2.git leads to core.git 7d08767b890e723cd502b1c61d250924f695eb98 (tdf#130088 tdf#119908 smart justify: fix DOCX line count + compat opt., 2023-10-16).

Adding Cc: to László Németh
Comment 2 László Németh 2023-11-29 10:55:06 UTC
@Miklós: thanks for the report!
Comment 3 László Németh 2023-12-04 20:43:25 UTC
László Németh committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/7059a1858ddb044c5f3f0c8e0386d3e1d9dd2b5f

tdf#119908 tdf#158439 sw smart justify: fix freezing with NBSP

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.