I instrumented all my delegate methods, and they don't seem to get
called at all during the redraw in either the normal or pathological
cases.
looking at the case where NSFocusRingTypeNone causes the same
symptoms, I put a breakpoint on drawInteriorWithFrame, and then set it
to dump a backtrace.
I've made some progress in hunting this down, although it seems a little weird.
Basically, in an NSBrowser, if you have a column with, for example,
three items, and you click on another,
- (void)drawInteriorWithFrame:(NSRect)cellFrame inView:(NSView *)controlView
gets called a few times for
Check whether anything in your delegate is throwing an exception
(NSAssert can throw an exception btw). That might be interrupting the
update loop.
hth,
G.
On 23 May 2008, at 10:44 am, Martin Redington wrote:
I've made some progress in hunting this down, although it seems a
little
more NSBrowser problems (on Leopard, building with Xcode 2.5 for Tiger+).
My NSBrowser is set to allow multiple and branch selection. In my
custom NSBrowserCell subclass, I over-ride -[NSBrowserCell
drawInteriorWithFrame:inView:] to do some custom drawing when the cell
is selected (I need to draw