D9951: [KUserProxy] Adjust to accounts service
Kai Uwe Broulik
noreply at phabricator.kde.org
Wed Jan 17 17:48:00 UTC 2018
broulik created this revision.
broulik added a reviewer: Plasma.
Restricted Application added projects: Plasma, Frameworks.
Restricted Application added subscribers: Frameworks, plasma-devel.
broulik requested review of this revision.
REVISION SUMMARY
The avatar can also lie in the accounts service directory. Monitor there and also monitor for removal.
Also in the handler check all paths we monitor rather than `faceIconPath` which might be empty due to the file having been removed.
BUG: 384107
TEST PLAN
- Created an avatar, showed up in Kickoff right away
- Deleted an avatar, default icon showed up in Kickoff right away
However, together with https://phabricator.kde.org/D9950 changing between avatars now throws ```QML Image: Error decoding: file:///var/lib/AccountsService/icons/kaiuwe: Dieser Typ von Bilddaten wird nicht unterstützt```. Oh ffs.
REPOSITORY
R296 KDeclarative
REVISION DETAIL
https://phabricator.kde.org/D9951
AFFECTED FILES
src/qmlcontrols/kcoreaddons/kuserproxy.cpp
To: broulik, #plasma
Cc: plasma-devel, #frameworks, 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/20180117/0f688c57/attachment.html>
More information about the Plasma-devel
mailing list