Re: NSBrowser bug
Re: NSBrowser bug
- Subject: Re: NSBrowser bug
- From: Keith Blount <email@hidden>
- Date: Thu, 25 Aug 2005 07:03:53 -0700 (PDT)
Many thanks for the replies - I did search the
archives before posting, but there was so much on
NSBrowser I must have missed the previous mention of
the bug.
Manfred - thanks! I'll use your workaround until it
gets fixed in the frameworks - I don't know why I
didn't think of just calling setNeedsDisplay: on
selection change myself.
Thanks again,
Keith
--- Manfred Schwind <email@hidden> wrote:
> > There seems to be a bug in NSBrowser whereby if
> you
> > select an item in a column, then switch the
> selection
> > a couple of times, the cells in between the cells
> you
> > have selected apparently get drawn more than
> > necessary, so that their text gets darker and
> darker
> > and becomes bold, until you reset the selection or
> > switch to another window and back.
> >
> > This bug is apparent in both the SimpleBrowser
> example
> > and in the class browser in IB (though not in
> Finder,
> > but I guess that is just because Finder is
> Carbon...),
> > so it's not my code.
> >
> > Has anybody found a workaround for this? It's
> pretty
> > ugly (I've filed a bug report).
>
> Yes, I found a workaround:
> In the action method in the target for the NSBrowser
> (when the user
> clicks into it to change selection), just call
> setNeedsDisplay:YES on
> the NSBrowser. It's a ugly workaround, but it works.
>
> Regards,
> Mani
> ---
> http://www.mani.de/
> LittleSecrets - The encrypted notepad.
> iVolume - Loudness adjustment for iTunes.
> SharingMenu - Instant Sharing Control.
> iSale - you sell@eBay.
>
>
>
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden