Re: NSPopUpButtonCell Keeps on Trackin'! Demo, Movie

2009-05-04 Thread Jerry Krinock
I was able to fix this thing based on Jim Correia's clue: On 2009 Apr 26, at 15:29, Jim Correia wrote: What you've done is started a menu tracking session while the table view was already in the middle of a mouse tracking session. So I removed my override of -[NSTableView tableView:mo

Re: NSPopUpButtonCell Keeps on Trackin'! Demo, Movie

2009-04-26 Thread Jerry Krinock
On 2009 Apr 26, at 15:29, Jim Correia wrote: What you've done is replaced the table column's header cell, and started a menu tracking session while the table view was already in the middle of a mouse tracking session. Yes, that makes sense because I notice that clicking in the table view do

Re: NSPopUpButtonCell Keeps on Trackin'! Demo, Movie

2009-04-26 Thread Jim Correia
On Sun, Apr 26, 2009 at 10:41 AM, Jerry Krinock wrote: > // Table View delegate method. > // A little more complicated since we have to dig into the > // parts of the table, and assign it as a header cell. > - (void)               tableView:(NSTableView*)tableView >  mouseDownInHeaderOfTableColum

Re: NSPopUpButtonCell Keeps on Trackin'! Demo, Movie

2009-04-26 Thread Jerry Krinock
Well, even after distilling into a tiny demo, I still can't figure this one out. A popup menu attached to a regular button works fine. But when using it as an NSTableHeaderCell, it keeps tracking the mouse even after it's closed. How can one work around this? Here's a 30-second movie: