New auto-layout feature makes NSOutlineView's disclosure triangle dances.

Originator:drawtree
Number:rdar://15269909 Date Originated:19-Oct-2013
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 5.0 / 5A1413
Classification: Reproducible:Always
 
Hoon H.19-Oct-2013 11:33 PM

Summary:
When I use auto-layout mode, disclosure triangle moves when the NSOutlineView's right edge closes to the triangle.

Steps to Reproduce:
1. Make a new Appkit project.
2. Add a NSSplitView to the window in MainMenu.xib.
3. Add a source-list type NSOutlineView to NSSplitView. So it will be resize by the splitter.
4. Setup the outline-view to have deep-depthed tree (about 10).
5. Run and move splitter to shrink the outline-view. When the splitter closes to the triangle, it will move to right.

Expected Results:
The triangles must be stay there.

Actual Results:
The triangles moves.

Version:
Xcode 5.0 / 5A1413
OS X 10.8.5 / Build 12F45

Notes:
See the attached video and sample project.

Configuration:
iMac 2011 27"
i7 quad
16GB ram

Xcode 5.0 / 5A1413
OS X 10.8.5 / Build 12F45

Attachments:
'Archive.zip' was successfully uploaded.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!