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