| Summary: | navigating arrow keys while on RTL keyboard layout stuck on endless loop | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] frameworks-ktexteditor | Reporter: | Shual Kravot <as.afgre.enberg> |
| Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/frameworks/ktexteditor/commit/b1c4d600e05ff6899a9a58e9e0456e30b706e29b | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Shual Kravot
2022-03-22 10:16:56 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/ktexteditor/-/merge_requests/343 Git commit b1c4d600e05ff6899a9a58e9e0456e30b706e29b by Christoph Cullmann, on behalf of Waqar Ahmed. Committed on 22/03/2022 at 18:50. Pushed by cullmann into branch 'master'. Improve cursor movement with RTL text in doc Currently, empty lines are always treated as LTR which is not a good default to fall back on always. Instead if the line is empty, we can try to scan nearby lines and choose a direction. This way it is possible for RTL users to also navigate the text with keyboard. M +39 -14 src/view/kateview.cpp M +1 -1 src/view/kateview.h M +1 -1 src/vimode/modes/modebase.cpp https://invent.kde.org/frameworks/ktexteditor/commit/b1c4d600e05ff6899a9a58e9e0456e30b706e29b 1. It's not only on empty line: this bug will happen with every line that do not contain text. e.g. טקסט ==== עוד טקסט The scope is larger than that: any non-text between RTL texts will be still consider LTR. In the same example, the "=====" line will be displayed on the left side, while the texts will be aligned to the right, e.g. | טקסט| |=== | | עוד טקסט| (Althogh, this is just cosmetics; The main bug blocks functionality.) |