GNOME Bugzilla – Bug 790341
Ctrl-navigation works in opposite direction in right-to-left text
Last modified: 2017-11-15 11:33:34 UTC
While editing right-to-left text, such as Persian, Arabic and Hebrew, the cursor word-by-word movement is wrong (by holding down ctrl and pressing left/right arrow keys). This was a known and very old bug in GTK. Any GUI based on GTKTextView and GTKSourceView was affected, such as gedit. More than six months ago, we fixed GTK bug, however. Programs based on recent GTK releases function as expected, including gedit. Surprisingly, this bug is yet present in pygtk, even though it is fixed upstream. (I check that with running pygtk demo). And it continues to affect programs such as Zim wiki. (which is how I realized the bug is there) I would like to help fix this but I have no idea how things work in pygtk. I would appreciate any comments on this. For more information on the fixed GTK bug see: https://bugzilla.gnome.org/show_bug.cgi?id=136059
Since pygtk uses GTK+2 (and the gtk+2 variant of GTKSourceView) this likely was only fixed in the GTK+3 branch and was not backported. I don't know if it would be possible to backport that change. Changing this from pygtk to gtk+ and CCing dboles who worked on the fix you referenced and who might know more about this.
I did backport the patches to GTK+ 2, but I can't speak for when or even whether there'll be another release of that branch. I know that GIMP are wanting one, but I don't know whether anyone has specifically approached the maintainers to request it. You could try that! *** This bug has been marked as a duplicate of bug 136059 ***
Thanks for the info Daniel. I asked on the IRC and was told that Matthias Clasen is the maintainer. However I was unable to find him on IRC. I'll add him to the CC list hoping that he sees this thread.