Zim

Ctrl-navigation works in opposite direction in right-to-left text

Bug #1731771 reported by Mehdi Sadeghi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zim
New
Undecided
Unassigned

Bug Description

When writing right-to-left text in Zim (Pesian, Arabic, Hebrew) the behavior of cursor word-by-word movement (by holding down Ctrl and pressing arrow keys) is wrong. This was a well known and very old bug in GTK. Any GUI based on GTKTextView and GTKSourceView was affected, such as gedit. The good news is, however, this bug is fixed, more than six months ago. Programs based on recent GTK releases work properly, including gedit.

Zim, however, still has this problem, even though it is fixed in GTK.

I looked at the source code in order to figure out how Zim uses GTK but was lost in the code. I appreciate any comments on this problem and I am ready to help fix it.

For more information on the fixed GTK bug see: https://bugzilla.gnome.org/show_bug.cgi?id=136059

P.S. I fixed that bug with help from GNOME people.

Tags: gtk rtl
Revision history for this message
Mehdi Sadeghi (mehdix) wrote :

Fixed some bad English.

description: updated
Revision history for this message
Mehdi Sadeghi (mehdix) wrote :

BTW, I'm using zim 0.67-1 on Archlinux. I have GNOME 3-26 and gtksourceview3 v3.24 installed.

Revision history for this message
Mehdi Sadeghi (mehdix) wrote :

Some debug information:

This is zim 0.67
Platform: posix
Locale: en_US UTF-8
FS encoding: UTF-8
Python: (2, 7, 14, 'final', 0)
Gtk: (2, 24, 31)
Pygtk: (2, 24, 0)
No bzr version-info found

Revision history for this message
Mehdi Sadeghi (mehdix) wrote :

I opened a new bug on Github. Apparently Zim has moved there: https://github.com/jaap-karssenberg/zim-desktop-wiki/issues/229. Moreover the bug is in pygtk and not in Zim. Pygtk bug: https://bugzilla.gnome.org/show_bug.cgi?id=790341

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.