[interfacekit] Re: Shutdown Process

On 2005-07-17 at 18:53:10 [+0200], Axel Dörfler wrote:
> Ingo Weinhold <bonefish@xxxxxxxxxxxxxxx> wrote:
> > > But anyway, I tested the shutdown process on R5, and have a few
> > > comments:
> > > - <test>shutdown does not return
> > Is it supposed to? It uses BRoster::Shutdown() which I implemented
> > only to
> > return when an application or the user cancelled the shutdown or an
> > error
> > occurred. I actually don't see that much point in returning
> > immediately,
> > for 1) you won't know when the shutdown fails, and 2) it is undefined
> > how
> > long the process will continue to live after requesting the shutdown.
> 
> I didn't have a good reason for returning, but stippi came up with one,
> if you have a look at his solution for the Deskbar - returning isn't
> that bad either, although you could solve this via an additional
> parameter async = false.

You're too late, buddy. Already implemented. :-)

> BTW I think the confirmation window could have the default button on
> "Shutdown" - it hardly happens that you accidently select shutdown in
> the Deskbar anyway, the chance that you also accidently press return
> afterwards should be considerably lower :-)

Isn't the philosophy that the button invoking the least destructive action 
should be rightmost and default?

CU, Ingo

Other related posts: