On Monday, September 8, 2003, at 08:20 AM, Barry Levine wrote:


Alex,

When you select "Quit" (with a modal dialog in the foreground - and the "ask" or "answer" command has always been modal), the app does not quit -but- it won't respond to that menu item ever again (during that session). In other words, you have to force-quit the app.

OK so there are two possible different issues here 1) disabling the Quit menu item when appropriate, and 2) not being able to quit the app in a particular situation.


If you do any Cocoa development, create an app with a modal dialog. When that dialog is "up", see if you can quit. I'll bet you can't. You can "hide" the app, of course, but quitting is an inappropriate action in the middle of a modal activity.

I looked in a Cocoa app I wrote and while a modal dialog up, the Quit menu item is *enabled*, but has no effect. That is what I would expect because I haven't coded anything to disable the Quit menu item. No problems quitting afterwards.


I filed bug report #567 over this issue.

Good. I simply am wondering if it's realistic for runrev to disable the quit menu item for you, if Cocoa doesn't even do it.


On the other hand, not being able to quit your app would seem to be a bug :-)


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