After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 316815 - Breezy : Gdm theme with user list double click problem
Breezy : Gdm theme with user list double click problem
Status: RESOLVED NOTABUG
Product: gdm
Classification: Core
Component: general
2.8.x
Other Linux
: Normal normal
: ---
Assigned To: GDM maintainers
GDM maintainers
Depends on:
Blocks:
 
 
Reported: 2005-09-20 22:24 UTC by Sebastien Bacher
Modified: 2005-09-27 08:42 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12



Description Sebastien Bacher 2005-09-20 22:24:17 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)"
Comment 1 Brian Cameron 2005-09-21 03:18:32 UTC
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.
Comment 2 Sebastien Bacher 2005-09-21 07:26:11 UTC
This change doesn't seem to fix the issue.

One example of bogus theme: http://gnome-look.org/content/show.php?content=24719
Comment 3 Brian Cameron 2005-09-27 05:18:51 UTC
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.
Comment 4 Brian Cameron 2005-09-27 05:19:35 UTC
I mean gdmgreeter requires the pam-message block, not gdmlogin, sorry.  Closing
this as notabug. 
Comment 5 Brian Cameron 2005-09-27 06:53:44 UTC
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.
Comment 6 Sebastien Bacher 2005-09-27 08:42:30 UTC
thanks for the explanations!