On Thu, Dec 18, 2008 at 8:05 PM, Robert Clair <rcl...@elroberto.com> wrote:
> [NSApp runModalForWindow: licensePanel];
>
> which is called from
>
> - (void)applicationDidFinishLaunching:(NSNotification *)notification
>
> The problem is (not sure when this started, it's just been reported)
> that when it is started the first time after downloading, the "xxxxx
> is an Application which was downloaded from the internet warning"
> screws things up. After clicking on "open" the warning dismisses, but
> the license window never becomes visible. Since it isn't visible, it
> can't be dismissed and things are hung.
>
> If you kill the app and start it again it runs fine.
>
> Anybody have any ideas ?
>

Have you tried launching your license panel from your main window
delegate's -windowDidBecomeKey method instead? IIRC that doesn't
happen till after the warning is dismissed.

HTH,

Geoff
_______________________________________________

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

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

Reply via email to