Bug 156377 - Cursor can’t be inserted in the middle of ligatures when editing text in the UI
Summary: Cursor can’t be inserted in the middle of ligatures when editing text in the UI
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: ⁨خالد حسني⁩
URL:
Whiteboard: target:24.2.0
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-19 12:34 UTC by ⁨خالد حسني⁩
Modified: 2023-08-08 15:04 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.