[Differential] [Request, 3 lines] D2047: [KDE Platform Theme] Set application layoutDirection based on locale

broulik (Kai Uwe Broulik) noreply at phabricator.kde.org
Wed Jun 29 20:27:55 UTC 2016


broulik created this revision.
broulik added reviewers: Plasma, Plasma: Design.
broulik set the repository for this revision to rPLASMAINTEGRATION Integration for Qt applications in Plasma.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.

REVISION SUMMARY
  This ensures that when starting the application with eg. Hebrew locale, the application is mirrored.
  
  Qt does not seem to do this automatically but instead apparently wants you to include a QT_LAYOUT_DIRECTION string translated as either rtl or ltr in your app.

TEST PLAN
  LC_ALL=ar dolphin ← dolphin was reversed, before it was not
  LC_ALL=he dolphin ← dolphin was reversed, before it was not
  dolphin ← dolphin not reversed
  
  Not sure if this is the right approach though, or if there's a latent Qt bug.

REPOSITORY
  rPLASMAINTEGRATION Integration for Qt applications in Plasma

REVISION DETAIL
  https://phabricator.kde.org/D2047

AFFECTED FILES
  src/platformtheme/kdeplatformtheme.cpp

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: broulik, #plasma, #plasma:_design
Cc: plasma-devel, jensreuterberg, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160629/f2809fe9/attachment.html>


More information about the Plasma-devel mailing list