davidedmundson created this revision.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.

REVISION SUMMARY
  Our helper runs as root and doesn't have the user's environment
  (including $LANG). This defaults to one without UTF-8.
  
  Without a locale with UTF-8
  QFileInfo::exists("/home/david/wallpapers/crepé.png") returns false and
  we fail to set a wallpaper.
  
  By forcing the locale we fix that. It doesn't matter that we're using C,
  as we don't have any UI related code in the helper.
  
  BUG: 384294
  Fixed-in: 5.11.0

TEST PLAN
  Created a folder
  Changed wallpaper

REPOSITORY
  R123 SDDM Configuration Panel (KCM)

BRANCH
  Plasma/5.10

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

AFFECTED FILES
  sddmauthhelper.cpp

To: davidedmundson, #plasma
Cc: plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, 
abetts, sebas, apol, mart

Reply via email to