gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Occasional NSInternalInconsistencyException


From: Patryk Laurent
Subject: Re: Occasional NSInternalInconsistencyException
Date: Mon, 25 Nov 2019 13:33:41 -0800

Hi Ivan,

On Nov 19, 2019, at 10:07, Ivan Vučica <address@hidden> 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
>> <address@hidden> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]