Bug 302316

Summary: logout and shutdown dialogs launched from main-menu do nothing
Product: [openSUSE] openSUSE 10.3 Reporter: Tim Lee <timlee>
Component: GNOMEAssignee: Calvin Gaisford <cgaisford>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None CC: florin, holgi, jhaygood, peter, snowx1000, wolfgang
Version: Beta 2   
Target Milestone: Beta 3   
Hardware: i586   
OS: Other   
Whiteboard:
Found By: Integration Test Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Tim Lee 2007-08-21 21:39:34 UTC
* clean install of build 20070821 (beta2) from gnome cd iso
* configured to autologin for one account
* clicked on main-menu icon
* in slab clicked on logout icon
* in the Log Out dialog clicked on logout button
* dialog closed but the user was not logged out
* clicked on main-menu icon
* in slab clicked on shutdown icon
* in the Shutdown dialog clicked on Shutdown button
* dialog closed but the system did not shutdown


beta2 has libssui-0.5.7-3, last entry from changelog is Aug 19. "Removed shsh.patch as it's included in tarball now..."
Comment 1 Mark Gordon 2007-08-22 15:38:56 UTC
*** Bug 302488 has been marked as a duplicate of this bug. ***
Comment 2 Mark Gordon 2007-08-22 15:39:17 UTC
*** Bug 302560 has been marked as a duplicate of this bug. ***
Comment 3 Mark Gordon 2007-08-23 14:53:49 UTC
*** Bug 303761 has been marked as a duplicate of this bug. ***
Comment 4 Mark Gordon 2007-08-23 14:54:13 UTC
*** Bug 303800 has been marked as a duplicate of this bug. ***
Comment 5 Calvin Gaisford 2007-08-23 20:40:30 UTC
When libssui is launched from the main-menu, it cannot connect to the gnome session-manager to request the shutdown.  If you launch from the command line using libssui --logout, it works fine.

This is caused by the fact that main-menu is being initialized without the SESSION_MANAGER environment set.  The SESSION_MANAGER is not being set probably due to some a11y initialization being called and activating the panels before the SESSION_MANAGER is set up at login time.

A temporary fix is to go into gnome-control-center and turn of the a11y support in  the Assistive Technology Preferences.

I'm looking into a real patch and a fix (which will most likely need to go upstream as it is surely broken there too)
Comment 6 Jared Allen 2007-08-23 20:56:59 UTC
I don't see Control Center in the main menu.  Do anyone else?
Comment 7 Jared Allen 2007-08-23 20:57:33 UTC
*Does*
Comment 8 Calvin Gaisford 2007-08-23 21:13:43 UTC
There is a bug filed on the missing Control Center #302324

*** WORKAROUND ***

hit Alt-F2 and type in gnome-control-center
Click on the "Assistive Technology Preferences"
un-check the "Enable assistive technlologies" and click Close
hit Alt-F2 and type in libssui-tool --logout
logout and back in, logout and shutdown now work

Comment 9 Calvin Gaisford 2007-08-23 21:14:36 UTC
That last comment is not the fix, but a temporary work around so you can logout on Beta1 and Beta2 of Opensuse 10.3.  I'm working on the fix.
Comment 10 Magnus Boman 2007-08-24 11:17:20 UTC
*** Bug 304232 has been marked as a duplicate of this bug. ***
Comment 11 Calvin Gaisford 2007-08-24 16:02:19 UTC
The problem stems from some work that was done in gnome-session where the assistive technologies were being started before the session manager was able to set things up.  There doesn't seem to be a concrete reason the assistive technologies were moved so high up in the process that I could find other than a lot of discussion on how it "should" be up there.

I moved the assistive technologies initialization down in gnome-session to be the first thing that happens after the session manager is initialized and it fixes this and several other problems.

I am going to file a bug upstream and attach my patch to have some people that work on gnome-session review the change, then I'll commit the patch for Beta3.

Until then, you can get updated rpms for gnome-session to try out here:
http://www.gnome.org/~calvinrg

Comment 12 Calvin Gaisford 2007-08-24 17:26:51 UTC
I've submitted an upstream bug with the patch for review.
http://bugzilla.gnome.org/show_bug.cgi?id=469958
Comment 13 Calvin Gaisford 2007-08-24 18:59:21 UTC
I've updated our preconf patch to libgnome to disable accessibility by default.  This was submitted to autobuild and should be available in 10.3 Beta2
Comment 14 Samareanu Florin 2007-08-24 21:55:52 UTC
since beta2 is already out, this means that an updated package will be available in -factory in a couple of days?
Comment 15 Calvin Gaisford 2007-08-25 00:14:51 UTC
It should... I submitted packages to autobuild and they were accepted.  libgnome is the package to get that will turn off accessibility by default.
Comment 16 Calvin Gaisford 2007-08-27 19:52:51 UTC
This is now submitted to autobuild so it should show up in a day or so in factory and will be in Beta3.
Comment 17 Magnus Boman 2007-08-29 00:59:50 UTC
*** Bug 305739 has been marked as a duplicate of this bug. ***
Comment 18 Magnus Boman 2007-08-29 22:36:31 UTC
*** Bug 306181 has been marked as a duplicate of this bug. ***