D7716: Support filepaths with accents
David Edmundson
noreply at phabricator.kde.org
Wed Sep 6 23:20:17 UTC 2017
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170906/6896f9f1/attachment.html>
More information about the Plasma-devel
mailing list