Re: NSSplitView crash upon restore from 10.8 Versions Browser

2012-09-13 Thread Jerry Krinock
I was able to reproduce and fix this problem that went away a few weeks ago. The mystery factor was that the crash only occurs if user clicks on the old (right-screen side) version while in the Versions Browser, which causes its window to resize, before restoring. On 2012 Aug 20, at 14:14, Ke

Re: NSSplitView crash upon restore from 10.8 Versions Browser

2012-08-21 Thread Jerry Krinock
On 2012 Aug 20, at 14:14, Kevin Perry wrote: > Looks like the crash is happening while attempting to invoke > -respondsToSelector:. > > Odds are that this is a message being sent to [self delegate], which looks > like a deallocated object. Thank you, Kevin. I like it. > Is it possible that

Re: NSSplitView crash upon restore from 10.8 Versions Browser

2012-08-20 Thread Lee Ann Rucker
I've hit issues with splitView delegate getting called after the delegate is dealloced, and my setDelegate happens in the nib - normally what gets set in the nib gets unset correctly later. I had to put in a NSWindowWillCloseNotification observer and clear the splitView delegate there. It's an

Re: NSSplitView crash upon restore from 10.8 Versions Browser

2012-08-20 Thread Kevin Perry
Looks like the crash is happening while attempting to invoke -respondsToSelector:. Odds are that this is a message being sent to [self delegate], which looks like a deallocated object. Is it possible that the split view is outliving its delegate? Typically, when a delegate gets deallocated (or