• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Crash in _gatherFocusStateInto:upTo:withContext:?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Crash in _gatherFocusStateInto:upTo:withContext:?
      • From: Keith Blount <email@hidden>
  • Prev by Date: Re: NSOpenPanel and showing file name's
  • Next by Date: Re: Subclassing NSSearchFieldCell
  • Previous by thread: Crash in _gatherFocusStateInto:upTo:withContext:?
  • Next by thread: Re: Crash in _gatherFocusStateInto:upTo:withContext:?
  • Index(es):
    • Date
    • Thread