Bug 146710 - Incorrect wrapping of neutral characters in CTL
Summary: Incorrect wrapping of neutral characters in CTL
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected) release
Hardware: All All
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: RTL-Hebrew
  Show dependency treegraph
Reported: 2022-01-12 02:02 UTC by jcuenod
Modified: 2022-01-26 22:57 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:
Regression By:


Note You need to log in before you can comment on or make changes to this bug.
Description jcuenod 2022-01-12 02:02:25 UTC
Neutral characters (like parentheses) are not wrapped as expected in complex text layout paragraphs.

To Reproduce:
- Type a Hebrew word and surround it with brackets: "(דבר)".
- Prepend (ltr) "lorem ipsum" to it until the Hebrew word wraps to a new line. 
- If the opening parenthesis wraps, delete a few lorem characters.

Expected Output:
The opening parenthesis should be attached to the Hebrew word

Actual Output:
The opening parenthesis does not wrap to the new line if there is space for it on the first line.

Possibly related to #146572
Comment 1 Dieter 2022-01-25 17:17:35 UTC
I confirm it with

Version: (x64) / LibreOffice Community
Build ID: 499f9727c189e6ef3471021d6132d4c694f357e5
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL