Bug 364778 - Selection isn't placed correctly on classifications (RTL layout)
Summary: Selection isn't placed correctly on classifications (RTL layout)
Status: RESOLVED FIXED
Alias: None
Product: kdeplasma-addons
Classification: Plasma
Component: Application Dashboard (show other bugs)
Version: 5.6.5
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Eike Hein
URL: http://i.imgur.com/ZVHPVQ0.png
Keywords:
: 368604 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-06-26 12:42 UTC by Safa Alfulaij
Modified: 2016-12-29 13:06 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
UI suggestion Right align Categories column (420.66 KB, image/png)
2016-11-30 13:27 UTC, ttv200
Details
UI suggestion Center align Categories column (403.13 KB, image/png)
2016-11-30 13:29 UTC, ttv200
Details

Note You need to log in before you can comment on or make changes to this bug.
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