Bug 168727

Summary: Right/left arrows in RTL
Product: [I don't know] kde Reporter: Zayed Al-Saidi <zayed.alsaidi>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED UPSTREAM    
Severity: normal CC: ebrahim, kde-2011.08
Priority: NOR Keywords: rtl
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Zayed Al-Saidi 2008-08-08 11:53:04 UTC
Version:            (using KDE 4.1.0)
Installed from:    Ubuntu Packages

The right and left keyboard arrows does not work properly in RTL mode. When the right arrows is pressed the cursor goes to the left and when the left arrow is pressed the cursor goes right.

Way to reproduce this bug.

1- open kwrite or Notes plasmoid in RTL mode.
2- paste this text
لبي بتيكلسشمن يتبكسب سشمنتيبسش ي
3- try to go right or left with keyboard arrows
Comment 1 Diego Iastrubni 2008-08-14 10:39:57 UTC
I can confirm this. The problem is that the arrow keys are mapped to a  logical (move next char/prev char) instead of visual action (move left/right) .
Comment 2 Diego Iastrubni 2008-08-14 11:42:35 UTC
Whats the difference between bug 168727 (this bug) and 165397 (http://bugs.kde.org/show_bug.cgi?id=165397)?

Can you reproduce this bug in kmail4? If this is the case, this bug is caused by KTextEdit and 165397 is caused by KatePart and they are different bugs. Otherise, I say close 165397.
Comment 3 Zayed Al-Saidi 2008-08-14 12:16:45 UTC
Actually, There is no Arabic translation for kmail4. So I run "kamil -reverse" and I get same problem. 

By the way How dose reverse mode suppose to work in RTL environment? Nothing change in both case !! 
Comment 4 Zayed Al-Saidi 2009-05-12 07:30:41 UTC
Is anybody work in this issue? I want emphasize the importance of this issue. If I going to sell software with bug nobody will accept it in the RTL languages. It is serious bug. Personally, I get embarrassed when I show KDE for new people with this bug. They said KDE does not satisfy the basic RTL languages requirements.

 Please,fix it for KDE 4.3.
Comment 5 Zayed Al-Saidi 2009-06-08 07:05:35 UTC
This is upstream bug, see this:
http://www.qtsoftware.com/developer/task-tracker/index_html?id=254850&method=entry
Comment 6 Dotan Cohen 2009-06-12 16:39:14 UTC
In Kmail the user can press RightShift-RightCtrl to switch to RTL, then the arrow keys function as expected. This does not work in Kate, however, as Kate does not have working RTL.
Comment 7 Zayed Al-Saidi 2011-11-10 15:35:02 UTC
I test this bug using KDE 4.7.3 and Qt 4.7.4 and it disappeared. The upstream bug has been solved 
https://bugreports.qt.nokia.com/browse/QTBUG-2314