Version: (using KDE 4.2.1) Installed from: Ubuntu Packages When I configure the panel in KDE, then logout and log back in, the panel applets are in reverse order. This may be related to the fact that my KDE installation is in Hebrew, which is a right-to-left language.
Created attachment 32193 [details] Panel configuration before logout
Created attachment 32194 [details] Panel configuration after logout and login
*** Bug 189440 has been marked as a duplicate of this bug. ***
This issue affects Arabic users as well as Hebrew users, as a comment on the dupe suggests. Note that starting plasma with --reverse makes it RTL for English language users to test in.
I test this in kde4.2.90 (Arabic interface) and I found it there. It seems that the panel does not remember if it is RTL or LTR. It keep change its layout direction every time the plasma restart.
One more comment, the task widget does not effected by this bug as you can see from the screenshots it preserve its layout dirction.
*** Bug 196952 has been marked as a duplicate of this bug. ***
SVN commit 992935 by aseigo: in RTL, the geometries are reversed; compare them with that taken into consideration BUG:187406 M +4 -0 containment.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=992935
SVN commit 992936 by aseigo: in RTL, the geometries are reversed; compare them with that taken into consideration CCBUG:187406 M +4 -0 containment.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=992936
Hi Aaron, I tried to test you patch by updating my installation. Unfortunately, I found the problem is still their.
SVN commit 993594 by aseigo: swap the comparisons in --reverse CCBUG:187406 M +7 -1 panel.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=993594
Zayed Al-Saidi: can you updated kdebase/workspace/plasma/containments/panel/ to that last commit (Comment #11) and see if that fixes it for you? if so ... one oddity of this is that when you switch from LTR to RTL (say, between desktop sessions) the order of the items in the panel won't change. e.g. the menu won't switch from the left side to the right side. but the order of the panel is at least stable, even after multiple stops and starts with -reverse (or mixing -reverse and not) i may be able to find a way to get it to reverse and stay that way ... but i'm not sure. that may require recording what the last direction was.
(note that the initial layout is still properly RTL, so this at least works better for the common case; it's just a bit odd for accounts that bounce between LTR and RTL sessions)
Aaron: I update the kdebase/workspace/plasma/containments/panel/ to commit 993594. But the problem is still there. How did I test this? I have a specific account for testing KDE4.3 and it is always in RTL mode (to test Arabic translation and RTL bugs). I start fresh by deleting .kde4 folder and then logout and login again and change the langauge to Arabic form kcm_laguage. After that I logout and login again (panel in RTL ). Then I logout and login again (now the panel to LTR mode). The panel keeps change its layout direction every login if I choose RTL language.
at changeset 993594 you did: (QApplication::layoutDirection() == Qt::RightToLeft) is there a reason for this? Containment inherits Applet which inherits QGraphicsWidget, you should use this->layoutDirection() instead of looking at QApplication. Maybe this also triggers https://bugs.kde.org/show_bug.cgi?id=206283 ?
*** Bug 214219 has been marked as a duplicate of this bug. ***
please kde fix it !
بسم الله الرحمن الرحيم I use ojuba linux os , Due to this problem I use Arabic Gnome .
*** Bug 206283 has been marked as a duplicate of this bug. ***
Is there no RTL user out there that knows a minimum about coding? it is probably not that hard to fix that bug, but without a real RTL enviroment, it's not that easy to do.
(In reply to comment #20) > Is there no RTL user out there that knows a minimum about coding? it is > probably not that hard to fix that bug, but without a real RTL enviroment, it's > not that easy to do. Can you give a clue, please? I can work on a LTR environment but I need some help where to start..
LTR users can get a whole RTL environment yet preserve their preferred language by starting KDE applications with the --reverse flag, like so: $ kate --reverse
interesting. For me the panel is in the right direction when starting plasma with this option.
(In reply to comment #23) > interesting. > For me the panel is in the right direction when starting plasma with this > option. try to restart plasma-desktop more than once.
Hey, I just test this bug with KDE 4.4 RC1 with plasma 4.3.90 and the bug is gone (on kubuntu 10.04 alpha 2).
sounds great. if somebody else can confirm this i will close this bug. thank you
Confirmed. Thanks!