• 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: Quit menu item undimming itself?!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quit menu item undimming itself?!


  • Subject: Re: Quit menu item undimming itself?!
  • From: Matt Neuburg <email@hidden>
  • Date: Wed, 10 May 2006 06:32:11 -0700
  • Thread-topic: Quit menu item undimming itself?!

On or about 5/10/06 12:17 AM, thus spake "Nir Soffer" <email@hidden>:

> Beeping when the user choose quit is evil

Then perhaps someone should file a bug, because that's how Cocoa behaves
when a sheet is showing at the time the user chooses quit. The worst problem
of all is what happens if the user tries to log out, or chooses Quit from
your app's Dock menu, when a sheet is showing in your app - namely, nothing.
Your app doesn't quit, the logout is blocked, and your app doesn't get an
event so it doesn't even know it's being evil. It took me a very long time
to figure out a way to hack around this (but I did finally solve it, in
NotLight 1.1). m.

--
matt neuburg, phd = email@hidden, http://www.tidbits.com/matt/
pantes anthropoi tou eidenai oregontai phusei
AppleScript: the Definitive Guide - Second Edition!
http://www.amazon.com/gp/product/0596102119
Take Control of Word 2004, Tiger, and more -
http://www.takecontrolbooks.com/tiger-customizing.html
Subscribe to TidBITS! It's free and smart. http://www.tidbits.com/



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Quit menu item undimming itself?!
      • From: John Stiles <email@hidden>
References: 
 >Re: Quit menu item undimming itself?! (From: Nir Soffer <email@hidden>)

  • Prev by Date: X11 selection mechanism in Cocoa applications
  • Next by Date: Re: NSKeyedUnarchiver questions
  • Previous by thread: Re: Quit menu item undimming itself?!
  • Next by thread: Re: Quit menu item undimming itself?!
  • Index(es):
    • Date
    • Thread