Re: Hiding a running application
Re: Hiding a running application
- Subject: Re: Hiding a running application
- From: Andy Lee <email@hidden>
- Date: Fri, 26 Jun 2009 12:38:15 -0400
On Jun 26, 2009, at 12:24 PM, I. Savant wrote:
On Jun 26, 2009, at 12:16 PM, Michael Domino wrote:
My app does some processing at quit time that can take a few
minutes, so I thought it would be nice to remove the gui from the
user’s attention so they don’t think they can still interact with
the program just because there is a window and a menu visible. So,
I hide the main window and the menubar. Then, I bring Finder to the
front. The only thing left is the application’s icon in the command-
tab list and the Dock, and the entry in the Force Quit Applications
list.
Is there a way to remove these items?
No, because this is not appropriate behavior. If your app is still
running (ie, it's still doing some post-processing), then it still
needs to be visible.
Consider ordering out the main window and putting up some sort of
progress indicator that lets the user know that quitting will be
delayed.
You could put the progress indicator in the Dock icon, thus allowing
the user the option to hide the app themselves if they want.
Also, if the quit-time processing *must* run to completion, consider
the possibility that they'll log out or shut down before it's done.
You should put up some kind of alert if they try to do so before your
app is done.
--Andy
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden