https://bugs.kde.org/show_bug.cgi?id=422177

--- Comment #19 from Alexander Potashev <aspotas...@gmail.com> ---
The different behavior of icon setting for predefined and custom icons can be
explained by this block of code:

https://gitlab.freedesktop.org/accountsservice/accountsservice/-/blob/master/src/user.c#L1506
"if ((mode & S_IROTH) == 0 ||"

AccountsService copies the icon into /var/lib/AccountsService/icons/ if it's
not universally readable. Other users can't read files in your $HOME, therefore
AccountsService will copy the icon and Kickoff will see the new picture
immediately.

----

We can apply a workaround to let Kickoff do its job: copy any selected PNG into
a file in $HOME where it won't be universally readable (e.g. ~/.face),
especially when the user pick a predefined icon.


Maybe we also need to revive this code from the old KCM:
https://invent.kde.org/plasma/user-manager/-/blob/master/src/accountinfo.cpp#L184
" //we want to save the face using AccountsService, but for backwards
compatibility we also..."

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to