Bug 165100

Summary: wrong tab orders in KDE application luncher RTL mode
Product: [Plasma] plasma4 Reporter: Zayed Al-Saidi <zayed.alsaidi>
Component: widget-kickoffAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: alsadi, aseigo
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: application luncher RTL mode
the kickoff menu (wrong one)
the correct one (what should be)
viewing it with --reverse

Description Zayed Al-Saidi 2008-06-27 12:40:45 UTC
Version:            (using KDE 4.0.83)
Installed from:    Ubuntu Packages

Wrong tab orders in KDE application luncher RTL mode. It is same as in LTR mode see the attached screen-shot. In the RTL mode the tabs should in the reverse order (i.e the favorites tab should be first from right side.)
Comment 1 Zayed Al-Saidi 2008-06-27 12:42:17 UTC
Created attachment 25650 [details]
application luncher RTL mode
Comment 2 Aaron J. Seigo 2008-06-28 23:37:32 UTC
works fine in trunk running either plasma -reverse or plasmoidviewer -reverse.
Comment 3 Zayed Al-Saidi 2009-02-03 11:17:46 UTC
Created attachment 30896 [details]
the kickoff menu (wrong one)
Comment 4 Zayed Al-Saidi 2009-02-03 11:19:04 UTC
Created attachment 30897 [details]
the correct one (what should be)
Comment 5 Zayed Al-Saidi 2009-02-03 11:19:37 UTC
It does not work in KDE 4.2. I installed opensuse 11.1 kde 4.2 and find it still LTR.

I attached two screenshot:
1- is the current state in kde 4.2
2- is what it should be in the RTL desktop.
Comment 6 alsadi 2009-03-22 18:03:46 UTC
I confirm the bug in kde 4.2.1

Aaron J. Seigo, was there a release since the then ? and in what commit ? and can you please point us to the patch

another thing can

plasma -reverse or plasmoidviewer -reverse

be set to be used automatically in all kicker components including taskbar too
Comment 7 Aaron J. Seigo 2009-03-23 08:06:51 UTC
i don't know when this was fixed or by which specific commit. but it certainly works here when the layout direction is RTL.
Comment 8 alsadi 2009-03-24 20:10:14 UTC
this bug is not resolved

it's just --reverse makes it appear so

the proof:

run plasmoidviewer --reverse launcher
and things will be fine (as in my screenshot)
but running 
LC_ALL=ar_EG.UTF-8 plasmoidviewer launcher
or just login into Arabic locale will show you it's not

so it's a double bug, one in the launcher and another in --reverse giving you fake impression that the problem is solved

I'll attach a screenshot with --reverse 
and compare it on the REAL thing by logging into kde in Arabic locale in the same system

http://www.linuxac.org/forum/attachment.php?attachmentid=6194&stc=1&d=1234988060
Comment 9 alsadi 2009-03-24 20:11:26 UTC
Created attachment 32374 [details]
viewing it with --reverse
Comment 10 Marco Martin 2009-04-18 19:40:24 UTC
SVN commit 955865 by mart:

when the application layout is rtl the and the tabbar horizontal qtabbar
will do the opposite to what we tell it to do
BUG:165100
will backport to 4.2


 M  +17 -4     launcher.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=955865