NSStackView containing NSTextViews fails to draw until window is resized
| Originator: | SaagarJha28 | ||
| Number: | rdar://34061891 | Date Originated: | 24-Aug-2017 10:55 AM |
| Status: | Open | Resolved: | |
| Product: | macOS + SDK (AppKit) | Product Version: | macOS High Sierra 10.13 Beta (17A352a) |
| Classification: | UI/Usability | Reproducible: |
Area: AppKit Summary: The NSStackView that contains some NSTextViews in the attached application does not render its contents when the window appears–it shows up as blank. Inspecting the text views in the View Hierarchy Debugger shows that they have the correct bounds set, but are just not drawn. This issue is “resolved” once the window is resized. Steps to Reproduce: 1. Run the attached sample code. 2. Resize the window. Expected Results: The stack view draws itself immediately. Observed Results: The stack view only draws itself after the window is resized. Version: macOS High Sierra 10.13 Beta (17A352a) Notes: More detailed information can be found on the GitHub issues that track the problem: https://github.com/br1sk/brisk/issues/30, https://github.com/br1sk/brisk/issues/33. Workaround: Force the window to resize programatically. Configuration: MacBook Pro (Retina, 13-inch, Early 2015) running macOS High Sierra 10.13 Beta (17A352a)
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!