Activity log for bug #1667157

Date Who What changed Old value New value Message
2017-02-22 23:43:24 Adnane Belmadiaf bug added bug
2017-02-23 00:12:47 Adnane Belmadiaf description 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" 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" The RTL locale gets loaded and the strings got translated but the layout is still Qt::LayoutDirection(LeftToRight) 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"
2017-02-23 00:32:56 Adnane Belmadiaf description 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" The RTL locale gets loaded and the strings got translated but the layout is still Qt::LayoutDirection(LeftToRight) 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" 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 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"
2017-07-26 11:40:07 Yaron bug added subscriber Ubuntu RTL