Comment 27 for bug 562027

Revision history for this message
Chris Coulson (chrisccoulson) wrote : Re: [Bug 562027] Re: [ooo-build] OOo QuickStarter: unable to shutdown / reboot / logout when quickstarter is active

On Mon, 2010-06-07 at 15:35 +0000, CarlosRuiz_globalqss wrote:
> Although this can be considered an openoffice bug - I think there is a
> problem also in the gnome-session manager as it's not informing the user
> about the program causing the problem - in my case the program silently
> fail, proper behavior must be to warn user about the program causing the
> problem.
>
> Also I wonder if the shutdown in gnome-session is too weak (compared with shutdown for example).
> Which signal is trying to send to the programs to shutdown? How much timeout is allowed before killing it?
> I think shutdown from gnome-session must behave similar to shutdown from system. Am I wrong? [Sorry if I've missed some previous discussion about this]
>
> I have the feeling that ubuntu is the linux distro more focused on
> usability and best user experience - so these kind of things must be
> sensitive, IMHO an underdeveloped program (any) must not stop a shutdown
> raised by user.
>
> Regards,
>
> Carlos Ruiz
>
It isn't a bug in gnome-session, and it is doing the right thing here.
gnome-session already has a mechanism for informing users about
applications that are blocking logout etc, but openoffice is
specifically telling gnome-session that it is going to interact with the
user (InteractRequest), and then immediately tells gnome-session that
the user cancelled the logout. As far as gnome-session is concerned,
openoffice put a dialog in front of the user and the user chose to not
log out.