Bug 364778

Summary: Selection isn't placed correctly on classifications (RTL layout)
Product: [Plasma] kdeplasma-addons Reporter: Safa Alfulaij <safa1996alfulaij>
Component: Application DashboardAssignee: Eike Hein <hein>
Status: RESOLVED FIXED    
Severity: normal CC: notmart, plasma-bugs, ttv200
Priority: NOR    
Version: 5.6.5   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
URL: http://i.imgur.com/ZVHPVQ0.png
Latest Commit: Version Fixed In:
Attachments: UI suggestion Right align Categories column
UI suggestion Center align Categories column

Description Safa Alfulaij 2016-06-26 12:42:15 UTC
In RTL layouts (Arabic for example): when you hover over the classification (Utilities, Games, Office, etc.), the selection isn't placed on the right-aligned phrase, but aligned to the left.

Screenshot: http://i.imgur.com/ZVHPVQ0.png

Reproducible: Always
Comment 1 Safa Alfulaij 2016-06-26 12:45:39 UTC
It seems that the whole applet doesn't support RTL layout :)

Similar resolved bug: https://bugs.kde.org/show_bug.cgi?id=343250
Comment 2 ttv200 2016-09-11 18:58:33 UTC
*** Bug 368604 has been marked as a duplicate of this bug. ***
Comment 3 ttv200 2016-09-11 18:59:17 UTC
Steps to Reproduce:
change the "Application Launcher" to "Application Dashboard"
$ kill plasmashell
$ LANG=he plasmashell --reverse (LANG HE is IMPORTENT
$ open Application dashboard and move the mouse on the menu
Comment 4 ttv200 2016-11-30 13:26:07 UTC
I found a solution
but because I not KDE Developer I can't apply it

you just need to add LayoutMirroring.enable for RTL in 
plasma-desktop git, applets/kicker/package/contents/ui/DashboardRepresentation.qml in the mainItem (Row 113)

and a UI suggestion (I try it on LTR lang)
right/center align the categories column - its look much better that way (see  the next attachments comments)
Comment 5 ttv200 2016-11-30 13:27:37 UTC
Created attachment 102546 [details]
UI suggestion Right align Categories column
Comment 6 ttv200 2016-11-30 13:29:07 UTC
Created attachment 102547 [details]
UI suggestion Center align Categories column
Comment 7 ttv200 2016-11-30 22:00:47 UTC
I found out how to do it myself...

https://phabricator.kde.org/D3553
Comment 8 ttv200 2016-12-15 22:54:28 UTC
Committed
https://phabricator.kde.org/D3553