On Sunday, September 7, 2003, at 05:00 PM, Barry Levine wrote:


Ken,

I've uncovered another bug in the way Rev handles the OSX App menu. If you execute a script that brings up an "ask" dialog (which is modal, of course), Rev permits you to select an item from the app menu. If the user selects "Quit", nothing happens (presumably because you're in the middle of something modal). You then complete the original handler by either entering data or canceling. At that point, you can't quit from the app even if the app brings you to other stacks with their own shutDownRequest handlers. The shutDownRequest handler never receives the signal.

This is exactly the opposite problem I encountered two days ago with the "quit in spite of the handler's presence" problem. So, until this latest bug is stamped out by Rev, I have to find a way to disable that menu.

Barry, I haven't tried this, but can you disable in particular the Quit menu item in the app menu?


I just looked in Mail.app (what I'm using right now of course), and with a model dialog open, Mail.app does allow it's app menu to be opened, however almost all of the menu items are disabled, including Quit.

The general rule is: the developer is required to enable/disable menu items as appropriate.

Not even Cocoa (Apple's own application framework) will disable the Quit menu automatically for you.

Alex Rice <[EMAIL PROTECTED]> | Mindlube Software | http://mindlube.com

what a waste of thumbs that are opposable
to make machines that are disposable  -Ani DiFranco

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to