On Aug 23, 2012, at 10:52 AM, tridiak <trid...@ihug.co.nz> wrote:

> I have a simple document app-wide modal window shown using [NSApp showModal:].
> It works all fine and dandy.
> Problem is, if Cmd-Q is initiated, it does a highlight of the Application 
> menu, makes a beep

That's correct behavior; modal windows are supposed to disable quit. They're 
generally considered bad UI for anything other than an urgent "I can't do 
anything else until you response to this!" type of alert, so consider changing 
your UI to avoid using one of these if you don't really need to. (If you want 
the user to be able to quit while it's up, that's a sign that you don't need it 
to be modal.)

> and the Quit menu item becomes permanently disabled after the modal window 
> has been dismissed.

That's weird, and implies that you might be dismissing the panel incorrectly.

—Jens
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to