Navigating with arrow keys broken for RTL text
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Pango |
Fix Released
|
Unknown
|
|||
pango1.0 (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
RTL text renders fine, and navigating within a line with the arrow keys works as expected. However, using the left and right arrow keys to move to the next or previous lines is broken.
To reproduce:
1. Open gnome-text-editor and paste the following into its window:
זוהי השורה הראשונה
זוהי השורה השנייה
זוהי השורה השלישית
make sure it is aligned to the right, as it should.
2. place the caret in the middle of the 2nd line.
3. With the arrows, move the caret to the left of the line (its end).
4. Press the left arrow key one more time.
Expected results:
1. The caret moves to the right hand side of the next line.
Actual results:
1. The caret moves to the left hand side of the previous line.
The same issue exists in reverse: if you move the caret with the arrow keys to the right of the line (its beginning) and press the right arrow key one more time, it will move to the right hand side of the next line instead of the left hand side of the previous line, as it should.
This make navigation in RTL files highly uncomfortable.
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gnome-text-editor 42.0-2
ProcVersionSign
Uname: Linux 5.15.0-23-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu79
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Mon Mar 28 03:09:24 2022
InstallationDate: Installed on 2022-01-31 (55 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Alpha amd64 (20220126)
SourcePackage: gnome-text-editor
UpgradeStatus: No upgrade log present (probably fresh install)
affects: | gnome-text-editor (Ubuntu) → pango1.0 (Ubuntu) |
Changed in pango1.0 (Ubuntu): | |
status: | New → Triaged |
affects: | gnome-text-editor → pango |
Changed in pango1.0 (Ubuntu): | |
status: | Triaged → In Progress |
importance: | Undecided → High |
Changed in pango1.0 (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in pango: | |
status: | Unknown → Fix Released |
Reported upstream: /gitlab. gnome.org/ GNOME/gnome- text-editor/ -/issues/ 344
https:/