Bug 156377

Summary: Cursor can’t be inserted in the middle of ligatures when editing text in the UI
Product: LibreOffice Reporter: ⁨خالد حسني⁩ <khaled>
Component: UIAssignee: ⁨خالد حسني⁩ <khaled>
Status: RESOLVED FIXED    
Severity: normal    
Priority: medium    
Version: Inherited From OOo   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=72641
Whiteboard: target:24.2.0
Crash report or crash signature: Regression By:

Description ⁨خالد حسني⁩ 2023-07-19 12:34:33 UTC
When editing text in the UI (e.g. Settings → User Data) and the font has ligatures for e.g. fi or لا, the cursor can’t be inserted inside the ligature.

This does not happen when editing document text. It also depends on the font, since not all fonts have ligatures for these characters.
Comment 1 Commit Notification 2023-07-23 04:05:42 UTC
Khaled Hosny committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/21013c4662a9ab32d293de263c54ebeceb66828c

tdf#156377: Improve cursor traversal in UI widgets

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.