• 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
Updates in one split view pane causing other pane to redraw (on Tiger)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Updates in one split view pane causing other pane to redraw (on Tiger)


  • Subject: Updates in one split view pane causing other pane to redraw (on Tiger)
  • From: Martin Redington <email@hidden>
  • Date: Fri, 21 Mar 2008 13:52:28 +0000


In my app I have a split view (actually an RBSplitView). The left hand pane contains a table view representing disk volumes, and the right hand split view contains an NSOutlineView listing files and directories.


When I update item in the files view, I'm *sometimes* seeing the volume view rows redrawing as well.

For example, I start the application, and move the selection up and down with the arrow key in the files view. The volumes view (correctly) does not redraw.

However, if I switch focus to the volume view, and then back to the files view, and do the same thing again, the volumes view starts receiving setNeedsDisplay: messages when the files view updates.

Clicking in the empty rows of the volumes view and then switching back to the files view seems to "break" the connection, and the setNeedsDisplay: messages stop getting sent.

It looks like some kind of internal state is getting set/unset that is causing the volumes view to update unnecessarily, but I can't work out what it is. Inspection of the obvious properties in F-Script shows nothing.

It seems to make no difference whether the volumes view's data is set using bindings to the columns or using a datasource.

Does this ring any bells with anyone?




_______________________________________________

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


  • Follow-Ups:
    • Re: Updates in one split view pane causing other pane to redraw (on Tiger): SOLVED
      • From: Martin Redington <email@hidden>
  • Prev by Date: Re: [Mini Announce] Leopard style tabs that need your help
  • Next by Date: Determining Class from Instance address
  • Previous by thread: Could not find image named warning
  • Next by thread: Re: Updates in one split view pane causing other pane to redraw (on Tiger): SOLVED
  • Index(es):
    • Date
    • Thread