Public bug reported:
Passing LANGUAGE="ar_MA.utf8" LANG="ar_MA.utf8" to the toolkit gallery
doesn't change the layout direction, adding some debug statements gives
me :
QGuiApplication::layoutDirection() : Qt::LayoutDirection(LeftToRight)
QLocale::system().name() : "ar_MA"
Forcing the RTL layout in src/UbuntuToolkit/ucapplication.cpp makes the
layoutDirection to change to Qt::LayoutDirection(RightToLeft) :
QGuiApplication::setLayoutDirection(Qt::RightToLeft);
after that i get the correct value :
QGuiApplication::layoutDirection() : Qt::LayoutDirection(RightToLeft)
QLocale::system().name() : "ar_MA"
** Affects: ubuntu-ui-toolkit (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1667157
Title:
Toolkit doesn't change the layout when using an RTL language
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1667157/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs