• 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: AppKit deadlock
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AppKit deadlock


  • Subject: Re: AppKit deadlock
  • From: Matt Covey <email@hidden>
  • Date: Sat, 18 Jan 2003 15:20:47 -0800

Finlay,

I ran into this back in May 2002 and the pertinent factors seemed to be:

* a default button
* NSSplitView (horizontal or "one above the other" orientation)
* (possibly) dual processor machine


The workaround I found was to leave the button as normal in IB and then change it to default when the window opened, using:

- (void) awakeFromNib
{
/* ... do stuff ... */

[self performSelector: @selector( updateToBeDefaultButtonOfWindow: )
withObject: [self window]
afterDelay: 0.0
];
}

++matt

PS Yes, I filed a bug report. The eventual response was "can't reproduce".


>On Saturday, January 18, 2003, at 05:53 pm, Shaun Wexler wrote:
>
>>>Fun deadlock, anybody got any ideas?
>>
>>Do you have a cursor rect overlapping a "pulsing" default("OK") button?
>
>Sorry, I forgot to say that it seems to happen randomly at application launch.
>
> -- Finlay
>_______________________________________________
>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.

  • Follow-Ups:
    • Re: AppKit deadlock
      • From: Finlay Dobbie <email@hidden>
References: 
 >Re: AppKit deadlock (From: Finlay Dobbie <email@hidden>)

  • Prev by Date: localized resources in root tool
  • Next by Date: Re: AppKit deadlock
  • Previous by thread: Re: AppKit deadlock
  • Next by thread: Re: AppKit deadlock
  • Index(es):
    • Date
    • Thread