Bug 503306 - Selection doesn't highlight the whole sentence if it contain Arabic (RTL) word first then English only.
Summary: Selection doesn't highlight the whole sentence if it contain Arabic (RTL) wor...
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: kwrite (other bugs)
Version First Reported In: 24.12.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-24 18:51 UTC by easy_lad
Modified: 2025-07-20 18:01 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
not highlighting the whole sentence when double clicking or selecting all of it (6.58 KB, image/png)
2025-04-24 18:51 UTC, easy_lad
Details

Note You need to log in before you can comment on or make changes to this bug.
Description easy_lad 2025-04-24 18:51:16 UTC
Created attachment 180622 [details]
not highlighting the whole sentence when double clicking or selecting all of it

SUMMARY

Here's the text "محرك Bing". If I double click to highlight the whole sentence, it doesn't highlight all of it. However, I can copy all of it.

STEPS TO REPRODUCE
1. double click to highlight the whole sentence when it includes arabic word first then English only like provided in "SUMMARY"

OBSERVED RESULT

it doesn't highlight all of it.

EXPECTED RESULT

Highlights the whole sentence.

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Fedora Linux 41
KDE Plasma Version: 6.3.3
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.2
Comment 1 Christoph Cullmann 2025-07-20 18:01:16 UTC
Hmm, in current master either the

محرك

or

Bing

of

محرك Bing

is selected and the copy is what you see selected (like in the browser here).

I think that got fixed with

https://invent.kde.org/frameworks/ktexteditor/-/merge_requests/815

or one of the later merge requests that are on that topic.