Public bug reported:

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
ProcVersionSignature: Ubuntu 5.15.0-23.23-generic 5.15.27
Uname: Linux 5.15.0-23-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu79
Architecture: amd64
CasperMD5CheckResult: pass
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)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug jammy rtl

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1966613

Title:
  Navigating with arrow keys broken for RTL text

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-text-editor/+bug/1966613/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to