Storyboard layout acts ambiguous, though no errors are reported

Originator:thedov
Number:rdar://37495719 Date Originated:13-Feb-2018 08:58 AM
Status:Closed Resolved:Duplicate (of 35377301)
Product:Developer Tools Product Version:9.2 (9C40b)
Classification:Serious Bug Reproducible:Always
 
Summary:
In a particular view of my storyboard, the layout often collapses all subviews to the leading margin, though there are no design- or runtime issues reported by Xcode or Interface Builder.

Changing any property of a view will toggle it back and forth between taking the full width of the view, like it should, and collapsing to the margin. I’ve attached the affected storyboard, and can attach the whole project if necessary

Steps to Reproduce:
1. Load storyboard
2. Navigate to the Movie Details View Controller Scene
3. Expand Container View -> Scroll View -> Scroll Content View -> Stack View
4. Select Viewing Notes Table View
5. Show the Size Inspector, and scroll down to the Intrinsic Size section
6. Toggle the Width “None” checkbox

Expected Results:
There is no change to the layout, since the table view is inside a stack view set to Fill alignment

Actual Results:
As you toggle it back and forth, all views collapse to zero width

Version:
9.2 (9C40b)

Notes:
Interface Builder acts like it’s exercising an ambiguous layout, but reports no such ambiguous layout. As mentioned before, I can send a zip of my whole project if it’ll help.

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!