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 394825 - When editing RTL text, keyboard selection by word works in the wrong direction
When editing RTL text, keyboard selection by word works in the wrong direction
Status: RESOLVED DUPLICATE of bug 136059
Product: gtk+
Classification: Platform
Component: Widget: GtkTextView
2.10.x
Other All
: Normal minor
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2007-01-09 21:58 UTC by Oded Arbel
Modified: 2007-01-21 22:52 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16



Description Oded Arbel 2007-01-09 21:58:13 UTC
Please describe the problem:
When editing text that is written from right to left (for example, hebrew and arabic), selecting text with the keyboard, on a word by word basis (by holding both CTRL and SHIFT while pressing the direction keys) work in reverse direction.

Steps to reproduce:
1. Open gedit.
2. Type some RTL text
3. Position the cursor at the middle.
4. Hold down CTRL+SHIFT and press LEFT


Actual results:
The editor selects words to the right of the original position of the cursor

Expected results:
The editor should select words to the left of the original position of the cursor

Does this happen every time?
Yes

Other information:
Funny enough, selection on a char by char basis (holding down just SHIFT, w/o CTRL, when pressing the direction keys) works fine - pressing LEFT selects chars to the left, while pressing RIGHT selects chars to the right. Just when holding CTRL everything reverses.
Comment 1 Oded Arbel 2007-01-09 21:59:35 UTC
just tested and its the same with gedit from GNOME 2.17.2.
Comment 2 Paolo Maggi 2007-01-10 09:57:59 UTC
Could you please verify it you get this problem also in other gtk+ programs using a text widget like Tomboy or gtk-demo?
Comment 3 Oded Arbel 2007-01-21 22:20:27 UTC
I experience the same behavior with Tomboy and Evolution composer. I haven't seen this problem with Mozilla and Flock (which I think are GTK based).
Comment 4 Paolo Maggi 2007-01-21 22:27:02 UTC
Moving to gtk+
Comment 5 Behdad Esfahbod 2007-01-21 22:52:23 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


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