Hi Ivan, On Nov 19, 2019, at 10:07, Ivan Vučica <i...@vucica.net> wrote: > > Would the bug here, then, be that alerts don't check for this edge case? > > Patryk: I'd merge a pull request that makes -[NSAlert runModal] check > for an active runloop.
I’m looking into this, at least to understand how this could be done. Do you happen to know how to check for an *active* runLoop? I see that [NSRunLoop currentRunLoop] returns a non-nil object even if I haven’t launched an NSApplication. > >> On Tue, Nov 19, 2019 at 5:49 PM Gregory Casamento >> <greg.casame...@gmail.com> wrote: >> >> Running modal panels requires the application run loop to be active. >> You're not doing that. I suggest you take a look at some of the >> application examples for how to do what you want here. Thanks, Patryk