Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread Display Modes
Old Nov 4, 2012, 04:12 PM   #1
macrumors newbie
Join Date: Nov 2012
Issue with NSOutlineView?

Hello, I've been a Mac owner for a grand total of 2 days on a 2012 mini running 10.8.1, so bear with me.

I'm currently porting some .NET application code to interface with Cocoa via MonoMac, and I've encountered a weird behavior with NSOutlineView where sometimes expanding a nested node in the tree will cause the root node to collapse immediately afterward.

Initially I thought this might just be my Mono code, but I've also reproduced the behavior with Apple's DragNDropOutlineView demo, and with the project navigator in Xcode. I've found a semi-reliable way to produce the behavior is to rapidly click the arrow of sub-node to expand and collapse it, along with some subtle pointer movement. Eventually it will trigger the root node to collapse. Even more interesting, I've managed to crash Xcode several times just by doing this. Another semi-reliable way to reproduce it is click two different node arrows in a very short time period.

Now, I don't expect users to intentionally mash mouse buttons until things explode, but in my own application I've had this occur several times just via casual node expansion. Since I dynamically build and destroy the tree as nodes are expanded and collapsed, the root node collapsing is a really big problem for me.

Has anyone encountered this before? Is it a known issue? Are there any suggestions for working around it?
jaquadro is offline   0 Reply With Quote

MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Font rendering issue with rMBP (Macbook issue or website issue?) Vinterbird MacBook Pro 8 Feb 27, 2013 10:42 AM
Bind NSOutlineView & NSTextView to NSTreeController? ArtOfWarfare Mac Programming 3 Dec 9, 2012 11:25 AM
Allow NSOutlineView to be rearranged? ArtOfWarfare Mac Programming 2 Dec 5, 2012 10:48 PM
NSOutlineView Source List Child Item Titles Disappearing mkmDesign Mac Programming 1 Oct 26, 2012 12:46 PM
NSOutlineView objects being released perrien Mac Programming 3 Aug 28, 2012 06:47 AM

Forum Jump

All times are GMT -5. The time now is 08:14 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2015, MacRumors.com, LLC