|Nov 4, 2012, 04:12 PM||#1|
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?
|Thread Tools||Search this Thread|
|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|
All times are GMT -5. The time now is 12:28 AM.