problem with logging out and how to debug it (3.2)

David Faure faure at kde.org
Mon Feb 9 22:07:40 GMT 2004


On Monday 09 February 2004 21:46, Alexander Neundorf wrote:
> Hi,
> 
> with the nice all-in-one uiserver dialog I have problems with logging out from 
> kde. If I select "log out", the applications quit, but it doesn't log out. 
> When I try log out the second time, nothing happens.
> 
> How can I debug this ?

Looks for 'application <foo> cancelled shutdown' as output from ksmserver,
i.e. usually in ~/.xsession-errors.
If it's indeed kio_uiserver, check its closeEvent() or queryClose().
 ... having a quick look ...  queryClose() returns false! The usual mistake.
Add && !kapp->sessionSaving() to the if().

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).




More information about the kde-core-devel mailing list