lightdm-gtk-greeter-team team mailing list archive
-
lightdm-gtk-greeter-team team
-
Mailing list archive
-
Message #00062
[Bug 939819] Re: Webkit greeter lacks an User Pic support.
Not sure if this is the place to report this but I'm currently
developing a lightdm webkit theme and have problems with user pics.
In the original theme, user pic is displayed but there is a bug if the
user has no pic (i.e. no ~/.face file) : rather than displaying the
stock person icon, it displays the webkit missing file icon.
This comes from the fact that the code checks if user.image.length is >
0, assuming that if the file exists, length will be > 0 and it will be =
0 if the file doesn't exists. Well, that's wrong: user.image is a string
("/home/username/.face") which is sent back by LightDM (or the LightDM
WebKit engine specifically? I have no experience with other greeters or
LightDM in general) even if the file doesn't exist. So the theme always
thinks a ~/.face file exists, even if it's not the case.
Either this is a bug in the LightDM webkit engine (maybe it should send
back an empty string for user.image if ~/.face or ~/.face.icon doesn't
exists?) or it's not and in that case the existence of the file has to
be tested through JavaScript (which is not an easy task, although it
might be possible with the new File API of HTML 5).
--
You received this bug notification because you are a member of LightDM
Gtk+ Greeter Development Team, which is the registrant for LightDM GTK+
Greeter.
https://bugs.launchpad.net/bugs/939819
Title:
Webkit greeter lacks an User Pic support.
Status in LightDM GTK+ Greeter:
New
Status in LightDM Webkit Greeter:
New
Bug description:
Why don't we put an user pic nearby the account selection area? I
think it's a good idea to focus better the selected user, together
with the wallpaper transition effect.
To manage notifications about this bug go to:
https://bugs.launchpad.net/lightdm-gtk-greeter/+bug/939819/+subscriptions