GNOME Bugzilla – Bug 316815
Breezy : Gdm theme with user list double click problem
Last modified: 2005-09-27 08:42:30 UTC
This bug has been opened here: http://bugzilla.ubuntu.com/show_bug.cgi?id=14587 "When using gdm theme with using list, the double click on the user is not working anymore , you have to hit enter. ... It's user list. ... > thanks for your bug. What version of gdm/ubuntu and what themeare you using? ... Breezy on i686 gdm version : 2.8.0.3-ubuntu2 In fact it's working with the happygnome-list theme, so probably my themes are not Breezy compatible. I'm using Human-list, Ubuntu World, etc... (they are based on warty happygnome-list version)"
Yes GDM 2.8 had a few enhancements which affected how userlist works. Note the new color tag. I suspect if you make similar changes in your userlist themes they will work. Let me know what specific changes you have to make to get them working. If you share the broken themes with me I can take a look at them and see if I can make the code work better with old themes that don't have the new options. < <pos anchor="c" x="25%" y="50%" height="box" width="box"/> < <box orientation="vertical" min-width="440" max-width="440" xpadding="4" ypadding="4" height="550" spacing="0"> < <item type="rect"> < <normal color="#000000" alpha="0.0"/> < <pos anchor="n" x="50%" height="548" width="438"/> < <fixed> < <item type="list" id="userlist"> < <pos anchor="nw" x="1" y="1" height="-2" width="-2"/> < </item> < </fixed> --- > <normal color="#FFFFFF" alpha="0.5" font="Sans 14"/> > <pos anchor="c" x="25%" y="50%" width="box" height="box"/> > <box orientation="vertical" min-width="440" max-width="440" min-height="100" xpadding="4" ypadding="4" spacing="0"> > <item type="list" id="userlist"> > <pos anchor="nw" x="1" y="1" height="550" width="440"/> > <color iconcolor="#ACBFDD" labelcolor="#ACBFDD"/> I'm adding the original reporter of the bug to the cc: list.
This change doesn't seem to fix the issue. One example of bogus theme: http://gnome-look.org/content/show.php?content=24719
I took a look into this, and the problem is that gdmlogin now requires that a pam-message block be included in the theme, or the userlist won't work right. So the bottom of the XML file should look like this so it has both a pam-message and pam-error block and not just a pam-error block. <!-- pam message/error --> <item type="label" id="pam-message"> <pos x="50%" y="90%" anchor="c" /> <normal font="Bitstream Vera Sans Bold 9" color="#dc292b"/> <text></text> </item> <item type="label" id="pam-error"> <pos x="50%" y="90%" anchor="c" /> <normal font="Bitstream Vera Sans Bold 9" color="#dc292b"/> <text></text> </item> Fix this, and the themes will work. This is an error with the themes since it is bad to not return PAM messages to the user.
I mean gdmgreeter requires the pam-message block, not gdmlogin, sorry. Closing this as notabug.
By the way, I updated the source code (CVS head and 2.12 branch) so that GDM spits out a syslog warning letting you know that the theme is missing a pam-message label, so that will hopefully help people know how to fix their theme when it is broken.
thanks for the explanations!