• 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
NSOutlineView is invisible...sometimes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSOutlineView is invisible...sometimes


  • Subject: NSOutlineView is invisible...sometimes
  • From: email@hidden
  • Date: Thu, 2 Aug 2001 22:46:08 -0400

Hi, all,

I've been building on a Java implementation of NSOutlineView successfully for a while. The view has been displaying successfully and I have been adding selection and editing support.

All of a sudden, my window will come up (about 60% of the time) with no outline view visible. If I instrument my DataSource/Controller, the outline view is certainly there, and makes the initial inquiries for the number of children of the root (null) object, and whether it's expandable. It never (when the contents are invisible) requests for the displayable objects for the rows & columns in the view. Remember it does work exactly as expected about 40% of the time; if a document fails to display the outline when opened, I can close & re-open it a few times in the same session and get it to open and display properly.

The only significant change to the window containing the outline view is that I added new fields to the top level of the view in addition to the NSOutlineView: some text fields to reflect the current status of the selection in the outline view. This is the only thing I can identify that should have a bearing on the behavior of the outline.

Which leads to two questions:

1) Any suggestions about how to get a flaky NSOutlineView (which happens to share a window with other objects) to display more reliably.

2) When my window is on-screen (and not displaying properly), are there methods or values I can be checking to figure out why it's not visible? (For example, I've called visibleRect(), and it is returning apparently normal values.)

TIA,

Doug K;


  • Prev by Date: copy and release
  • Next by Date: Re: Quick Question
  • Previous by thread: Re: copy and release
  • Next by thread: Re: Quick Question
  • Index(es):
    • Date
    • Thread