Re: AppKit deadlock
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.