[interfacekit] Re: Shutdown Process
- From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
- To: interfacekit@xxxxxxxxxxxxx
- Date: Sun, 17 Jul 2005 18:53:10 +0200 CEST
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.
> > - the window is always just centered on screen, and doesn't
> > remember
> > its last position (possibly an acceptable regression, though) :-)
> Oh, the position of the shutdown window is stored?! Bummer! :-)
Hehe :-)
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 :-)
Bye,
Axel.
- Follow-Ups:
- [interfacekit] Re: Shutdown Process
- From: Ingo Weinhold
- References:
- [interfacekit] Re: Shutdown Process
- From: Ingo Weinhold
Other related posts:
- » [interfacekit] Re: Shutdown Process
- » [interfacekit] Re: Shutdown Process
- » [interfacekit] Re: Shutdown Process
- » [interfacekit] Re: Shutdown Process
- » [interfacekit] Re: Shutdown Process
- » [interfacekit] Re: Shutdown Process
- » [interfacekit] Re: Shutdown Process
- » [interfacekit] Re: Shutdown Process
- » [interfacekit] Re: Shutdown Process
- » [interfacekit] Re: Shutdown Process
- » [interfacekit] Re: Shutdown Process
- » [interfacekit] Re: Shutdown Process
- » [interfacekit] Re: Shutdown Process
- » [interfacekit] Re: Shutdown Process
- » [interfacekit] Re: Shutdown Process
- [interfacekit] Re: Shutdown Process
- From: Ingo Weinhold
- [interfacekit] Re: Shutdown Process
- From: Ingo Weinhold