• 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: Hanging heartbeat thread on launch
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hanging heartbeat thread on launch


  • Subject: Re: Hanging heartbeat thread on launch
  • From: Will Cosgrove <email@hidden>
  • Date: Fri, 17 May 2002 09:44:25 -0500

Hi Matt,

> I ran into the same bug. My approach was to leave the button as normal in IB
> and then change it to default when the window opened, using:

Thanks for the work-around, I figured I would have to do something like
this. Have you logged this bug?

Cheers,
Will

> - (void) awakeFromNib
> {
> /* ... do stuff ... */
>
> [self performSelector: @selector( updateToBeDefaultButtonOfWindow: )
> withObject: [self window]
> afterDelay: 0.0
> ];
> }
>
> (Note it seems to be something to do with events and/or a race condition (450
> DP) involving the default button and a horizontal split view ('one above the
> other'), so you need to let the main run loop invoke the
> updateToBeDefaultButtonOfWindow: method.)





>> Hi All,
>> I'm having a continuing problem with my app hanging (spinning rainbow of
>> death) just after the main window appears. I believe it's the heartbeat
>> thread because all my "pulsating" buttons stop animating and then it hangs
>> and I don't have any threads of my own running.
>>
>> What I'm doing is I read a file then insert a view into a super view which
>> is inside an NSSplitView. On this newly inserted view is a default button,
>> which seems to be causing the problem. When I turn the button from default
>> to normal in IB, my app won't hang. But as soon as I change to back to a
>> default button, it will start hanging again.
>>
>> Does anyone have any suggestions how I can fix this problem?
>>
>> Thanks in advance,
>> Will C.
>> _______________________________________________
>> cocoa-dev mailing list | email@hidden
>> Help/Unsubscribe/Archives:
>> http://www.lists.apple.com/mailman/listinfo/cocoa-dev
>> Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Hanging heartbeat thread on launch (From: Matt Covey <email@hidden>)

  • Prev by Date: Re: about imageReps and images
  • Next by Date: NSOutlineView and valueForKey:identifier
  • Previous by thread: Re: Hanging heartbeat thread on launch
  • Next by thread: about file types
  • Index(es):
    • Date
    • Thread