Ctrl+Left/Right in a right-to-left written language moves the curser incorrectly

Bug #563719 reported by Haggai Eran
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
GTK+
Fix Released
Medium
gedit (Ubuntu)
Invalid
Low
Unassigned
gtk+2.0 (Ubuntu)
Triaged
Low
Unassigned

Bug Description

Binary package hint: gedit

When writing in a right-to-left written language, such as Hebrew, the left and right keys on their keyboard change their meaning: left moves to the next character, and right moves the cursor to the previous character. This works correctly in gedit. However, when using the Ctrl modifier, Ctrl-Left should move to the next word, and Ctrl-Right should move to the previous word. This currently doesn't work in gedit. Instead Ctrl-Left/Right works the same as in English.

To test this in gedit you can copy the following Hebrew text into gedit:
משפט קצר לנסיון.
Put the cursor at the sentence beginning (which is the rightmost word. By using Home for example), and then press Ctrl-Left. Instead of moving to the next word (the middle one), the cursor just stays at the beginning. Now press Ctrl-Right. Instead of staying, the cursor moves to the next word.

Regards,
Haggai

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: gedit 2.30.0-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-21.31-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic i686
Architecture: i386
Date: Thu Apr 15 13:46:01 2010
ExecutablePath: /usr/bin/gedit
InstallationMedia: Ubuntu-Netbook-Remix 9.10 "Karmic Koala" - Release i386 (20091028.4)
ProcEnviron:
 PATH=(custom, user)
 LANG=he_IL.utf8
 SHELL=/bin/bash
SourcePackage: gedit

Revision history for this message
Haggai Eran (haggai-eran) wrote :
Revision history for this message
Haggai Eran (haggai-eran) wrote :

I've added gtk+2.0 to this bug, since I saw this problem also happens in many other GTK application (gwibber, empathy, Alt-F2 run dialog, tomboy, etc.)

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for sending the bug to GNOME

Changed in gtk+2.0 (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Changed in gedit (Ubuntu):
importance: Undecided → Low
status: New → Invalid
Changed in gtk:
status: Unknown → New
Changed in gtk:
status: New → Invalid
Revision history for this message
Haggai Eran (haggai-eran) wrote :

The upstream bug I opened turned out to be a duplicate.

Changed in gtk:
status: Invalid → Unknown
Changed in gtk:
status: Unknown → Confirmed
Changed in gtk:
importance: Unknown → Medium
Changed in gtk:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.