After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 408992 - Ctrl+Arrow moves the carret to the wrong direction on RTL, right aligned, text
Ctrl+Arrow moves the carret to the wrong direction on RTL, right aligned, text
Status: RESOLVED DUPLICATE of bug 136059
Product: gtk+
Classification: Platform
Component: Widget: GtkTextView
2.8.x
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2007-02-17 17:15 UTC by Shlomi Israely
Modified: 2007-05-01 02:38 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description Shlomi Israely 2007-02-17 17:15:48 UTC
Please describe the problem:
While the Ctrl key is pressed, pressing the left and right arrow keys, moves the caret to the corresponding directions by words instead of letters.

When the line contains RTL characters only, it is being aligned to the right automaticly. moving the caret with the arrow keys works properly; Pressing the left arrow key, moves the carret left towards the END of the line and while pressing the right arrow key it's just the opposite. The problem is when pressing the Ctrl key while pressing the left arrow key. the carret will leap RIGHT instead of left. Ofcourse, the same thing happens with Ctrl+RIGHT.

Steps to reproduce:
1. Write a line with Hebrew, Arabic or other RTL text.
2. press Ctrl+RIGHT several times


Actual results:
The carret will move left.

Expected results:
The carret should move right.

Does this happen every time?
yes

Other information:
here is some text that you can experiment with:
שלום עולם.
This is a test.
Press Control and an arrow key to navigate the text using the keyboard.
Notice that when pressing Ctrl+left the carret will move LEFT by words when the line is aligned to the LEFT.
However, Notice that the carret will move RIGHT when pressing CTRL+LEFT:
למשל בשורה הזו הוא יזוז ימינה במקום שמאלה!

Notice that when not pressing CTRL, the carret behaves correctly.
Comment 1 Nadav Vinik 2007-04-28 13:33:36 UTC
I have the same problem in Arch linux in the same version of gnome.
Comment 2 Behdad Esfahbod 2007-05-01 02:38:38 UTC

*** This bug has been marked as a duplicate of 136059 ***