• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Close button vs. command-h
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Close button vs. command-h
      • From: Andreas Mayer <email@hidden>
References: 
 >Close button vs. command-h (From: Ryan Homer <email@hidden>)
 >Re: Close button vs. command-h (From: Murat Konar <email@hidden>)
 >Re: Close button vs. command-h (From: Ryan Homer <email@hidden>)
 >Re: Close button vs. command-h (From: Mike Abdullah <email@hidden>)
 >Re: Close button vs. command-h (From: "Clark Cox" <email@hidden>)

  • Prev by Date: Re: Close button vs. command-h
  • Next by Date: Re: Close button vs. command-h
  • Previous by thread: Re: Close button vs. command-h
  • Next by thread: Re: Close button vs. command-h
  • Index(es):
    • Date
    • Thread