download security hanging app - It's a more general Problem + Solution
download security hanging app - It's a more general Problem + Solution
- Subject: download security hanging app - It's a more general Problem + Solution
- From: Robert Clair <email@hidden>
- Date: Fri, 19 Dec 2008 09:53:37 -0500
It seems to be a more general bug with runModalForWindow: If anything
grabs the focus while the app is starting (i.e. something that would
require you click on the dock icon to get the app back - which the
warning does) the modal window never becomes visible.
I can see the same thing by starting the app from the debugger and
clicking on a different app before the debugged app is completely up.
The work around was to move the runModalForWindow: to
- (void)applicationDidBecomeActive:(NSNotification *)aNotification
with a static guard variable so that the reg window is launched only
the first time the app becomes active in a session.
( applicationDidBecomeActive: isn't called until you click to get the
app back.)
...Bob
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden