• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSBrowser redraw issues with multiple selection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSBrowser redraw issues with multiple selection


  • Subject: NSBrowser redraw issues with multiple selection
  • From: "Martin Redington" <email@hidden>
  • Date: Thu, 7 Aug 2008 17:43:20 +0100

Here's another NSBrowser issue (this is on Leopard, BTW)

I'm allowing multiple selection in my NSBrowser.

When my NSBrowser loses focus, the multiple selected cells correctly
change to have a grey background, but when it regains focus, only the
last selected cell gets updated correctly to the active selection
colour.

If I scroll the browser or switch apps, the selected cells are
correctly redrawn.

I've tried forcing redrawing by calling setNeedsDisplay on the matrix,
or  -[NSMatrix drawCellAtRow:column:]  for each cell, but this seems
to make no difference.

Quartz Debug shows that the last selected cell is getting redrawn, but
that the other cells never do, as though the Browser never realises
that the cells are dirty and need redrawing too.

Any suggestions for how to ensure that all of the selected cells
redraw would be great ...


--
http://www.mildmanneredindustries.com/
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: -[NSBrowser scrollToVisible] not making all of the column visible
  • Next by Date: Re: How to debug a corrupted stack
  • Previous by thread: Apology
  • Next by thread: Saving Outline View Column Widths
  • Index(es):
    • Date
    • Thread