Bug 279053

Summary: Arrow keys go in wrong direction in RTL text
Product: [Applications] kate Reporter: Dotan Cohen <kde-2011.08>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: cullmann, jowenn, kde-2011.08
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Dotan Cohen 2011-08-01 15:37:15 UTC
When typing RTL text in Kate, the arrow keys go in the wrong direction. That is, pressing the Left Arrow key moves the cursor to the right and pressing the Right Arrow key moves the cursor to the left.

Thanks for looking into this.
Comment 1 Dotan Cohen 2011-08-03 11:05:41 UTC
I just noticed that OpenOffice has an option to use either Logical or Visual cursor control. Kate uses a system that is similar to OOo's Logical setting. This bug can be solved by either:
1) Changing Kate's cursor control to Visual
-or-
2) Making Visual/Logical an option

The OOo option can be found in any OOo or LibreOffice application in this menu:
Tools -> Options -> Language Settings -> Complex Text Layout

Thanks!
Comment 2 Joseph Wenninger 2011-08-03 12:05:36 UTC
I know, it's another setting, but I would vote for the OOo way of making it configurable.

Perhaps with a small animated dialog the first time a document with RTL is opened asking the user for the default. (Somehow like Apple explains eg the Magic Touchpad in the Systemsettings)
Comment 3 Christoph Cullmann 2012-11-01 15:23:41 UTC

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