! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Use AccountsService in order to get user icon (for lock dialog)
Status:
RESOLVED: FIXED
Product:
Xfce4-screensaver
Component:
General

Comments

Description Olivier Duchateau 2019-03-28 17:11:50 CET
Created attachment 8365 
Get user icon from AccountsService

Currently, lock dialog displays user icon through ~/.face icon. It is not working if this icon is stored in /var/lib/AccountsService/icons/ directory (or another prefix, depends of operating system).

With LightDM my avatar is correctly displayed (it is stored in /var/lib/AccountsService/icons/), so I think we must check IconFile property, then ~/.face icon. This patch fixes this issue.
Comment 1 Git Bot editbugs 2019-06-04 12:17:55 CEST
Olivier Duchateau referenced this bugreport in commit fa529620f734f197063a8e9401879f33a84771aa

Get user icon from AccountsService (bug 15235)

https://git.xfce.org/apps/xfce4-screensaver/commit?id=fa529620f734f197063a8e9401879f33a84771aa
Comment 2 Sean Davis editbugs 2019-06-04 12:18:52 CEST
Thanks for the patch! Applied above.

Bug #15235

Reported by:
Olivier Duchateau
Reported on: 2019-03-28
Last modified on: 2019-06-04

People

Assignee:
Sean Davis
CC List:
0 users

Version

Attachments

Get user icon from AccountsService (4.65 KB, patch)
2019-03-28 17:11 CET , Olivier Duchateau
no flags

Additional information