Bug 190084 - rtl problem in plasma's tasks widget
Summary: rtl problem in plasma's tasks widget
Status: RESOLVED NOT A BUG
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-taskbar (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: rtl
Depends on:
Blocks:
 
Reported: 2009-04-19 17:27 UTC by alsadi
Modified: 2012-05-28 22:17 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
tasks as it currentely appear in rtl locale (13.15 KB, image/png)
2009-04-19 18:01 UTC, alsadi
Details
Panel in Arabic language in trunk 19th April 2009 (34.07 KB, image/png)
2009-04-19 18:35 UTC, Anne-Marie Mahfouf
Details
kde desktop rtl summary (224.62 KB, image/png)
2009-04-19 19:24 UTC, alsadi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description alsadi 2009-04-19 17:27:07 UTC
Version:            (using KDE 4.2.1)
OS:                Linux
Installed from:    Fedora RPMs

all kicker elements are ordered from left to right even in RTL locales
for example k menu is on the left and systray on right
and the tasks in task widget is also the same

when I looked into the code

plasma/applets/tasks/tasksmenu.cpp

I noticed lines like this

QRect iconRect(QStyle::alignedRect(QApplication::layoutDirection(), ...
        QRect textRect(QStyle::alignedRect(QApplication::layoutDirection()

seems that this case is handled in a wrong way

note: -reverse gives wrong directions and should not be used when testing
take a look at this
http://bugs.kde.org/show_bug.cgi?id=165100
Comment 1 alsadi 2009-04-19 18:01:33 UTC
Created attachment 32930 [details]
tasks as it currentely appear in rtl locale

tasks appears to the left they should be to the right
task icon should be
Comment 2 Anne-Marie Mahfouf 2009-04-19 18:32:53 UTC
In trunk, when I install Arabic language, I choose it, then I restart plasma-desktop and my panel is all reversed as shown in the attached screenshot. K menu is at the far right and config cashew in on far left with Digital clock near it. Task manager is also reversed, icons start from right to left in it.
Comment 3 Anne-Marie Mahfouf 2009-04-19 18:35:04 UTC
Created attachment 32931 [details]
Panel in Arabic language in trunk 19th April 2009
Comment 4 alsadi 2009-04-19 19:24:49 UTC
Created attachment 32933 [details]
kde desktop rtl summary
Comment 5 alsadi 2009-04-19 19:29:47 UTC
yes but I'm talking about the tasks widget along (not the panel it self)

please run
LC_ALL=ar_JO.UTF-8 plasmoidviewer tasks
or login into a desktop with one or two tasks

another thing the text should be on aligned to the right not to the left (even in your screenshot)


but it's a great news to know that the panel bug was solved before I report it
(could you please point me to the svn commit that solved it)
Comment 6 Diego Iastrubni 2009-09-04 23:45:36 UTC
is this bug still valid for KDE 4.3?
Comment 7 Beat Wolf 2009-12-11 20:59:33 UTC
please reopen if this is still a issue
Comment 8 Myriam Schweingruber 2012-05-28 22:17:39 UTC
Closing as outdated.