Bug 157874

Summary: Link text should "prefer" breaking at word boundary
Product: LibreOffice Reporter: Eyal Rozenberg <eyalroz1>
Component: LibreOfficeAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: enhancement CC: ilmari.lauhakangas, stephane.guillou
Priority: medium    
Version: 7.6.0.3 release   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 87740, 107733    
Attachments: Text box in a Writer document, space-separated words
Text box in an Impress document, expect break at slash

Description Eyal Rozenberg 2023-10-21 09:32:46 UTC
Text entered in a textbox breaks at word boundaries. However, if the same text is a hyperlink - it breaks at the last insertable character. That's usually a poor choice. It's usually better to break at spaces, or slashes, for example.
Comment 1 Eyal Rozenberg 2023-10-21 09:35:35 UTC
Created attachment 190361 [details]
Text box in a Writer document, space-separated words
Comment 2 Eyal Rozenberg 2023-10-21 09:37:38 UTC
Created attachment 190362 [details]
Text box in an Impress document, expect break at slash
Comment 3 Eyal Rozenberg 2023-10-21 09:38:15 UTC
Seeing this with:

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 3161a6c351a2f5f70c0420ee8cccf2eb23de1ecf
CPU threads: 4; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: he-IL (en_IL); UI: en-US

but have also seen this with 7.6.0.3
Comment 4 Stéphane Guillou (stragu) 2023-10-21 12:07:41 UTC
Note we already have bug 40563 for Impress.
Comment 5 Buovjaga 2023-10-30 18:52:47 UTC
Ok -> NEW

(In reply to Stéphane Guillou (stragu) from comment #4)
> Note we already have bug 40563 for Impress.

That is for the edit mode case, though.