Re: Crash in _gatherFocusStateInto:upTo:withContext:?
Re: Crash in _gatherFocusStateInto:upTo:withContext:?
- Subject: Re: Crash in _gatherFocusStateInto:upTo:withContext:?
- From: "Martin" <email@hidden>
- Date: Wed, 02 Nov 2005 15:55:58 -0800
On November 02 2005, Keith Blount <email@hidden> wrote:
>I have a text view that I swap into a new window in
>order to launch it into full screen. On occasions,
>however, when switching windows, I am getting the
>following assertion failuer causing buggy behaviour:
I've also seen this. We had an NSTextView inside a tab view. Sometimes when the user switched tabs the NSTextView would cause a crash. The (somewhat dirty) solution was to override _blinkCaret: as follows:
- (void) _blinkCaret:(id)obj
{
if( nil == [self window] ) return;
[super _blinkCaret:obj];
}
Not sure if the override causes any secondary effects, but we haven't seen the other crash since.
~Martin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden