It's actually a Qt application, and I am showing the alert at startup in response to a timer event. It's not a fundamental problem with Qt though; I am able to display NSAlerts successfully elsewhere in the app. I'm also able to use NSAlerts in response to a Qt timer in a test app, and of course in response to an NSTimer in a pure Cocoa app.
Does anyone have an idea as to what might be going on?
Thanks,
Graham Westlake
_______________________________________________
Cocoa-dev mailing list (Coco...@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:
http://lists.apple.com/mailman/options/cocoa-dev/cocoa-dev-garchive-98506%40googlegroups.com
This email sent to cocoa-dev-ga...@googlegroups.com
> I'm showing an NSAlert with runModal, but despite the buttons being responsive, the alert box will not dismiss and runModal never returns. I can't understand what state the run loop is in for this to be happening.
This doesn't quite make sense, but maybe the run loop is not running yet. Anyhow, here's some food for your thoughts:
http://lists.apple.com/archives/Cocoa-dev/2010/Sep/msg00425.html