Re: Close button vs. command-h
Re: Close button vs. command-h
- Subject: Re: Close button vs. command-h
- From: Mike Abdullah <email@hidden>
- Date: Sat, 3 Feb 2007 14:01:18 +0000
On 3 Feb 2007, at 13:22, Clark Cox wrote:
On 2/3/07, Mike Abdullah <email@hidden> wrote:
No, they really do close the window since if you command-tab to
iTunes, it will not re-open the main window. The app detects the
user clicking the dock icon and re-opens the window.
Personally, I feel this is poor design, the window should re-open
regardless of how the user activated the app.
But that is counter to 20+ years of Mac user expectations.
Clicking on the dock/launcher or double-clicking on the application
causes a new window to be opened if none are already opened. Switching
to an application any other way (by cmd-tabbing, using the Application
menu on pre-X MacOS, having the another application quit or hide
itself, etc.) doesn't open a new window.
I would use your app delegate (or the notification centre) to
register for -applicationDidBecomeActive: and then re-open the window
in that method.
So, if I hide the Finder, your app creates a new window?
Perhaps I should have stated that I intend this only for single-
windowed apps where the window has previously been closed. I feel it
is reasonable then for the user to want to re-open the window as they
come back to the app.
--
Clark S. Cox III
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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