Bug 58011 - "Empty Storyboard" has no design surface to add controls to..
Summary: "Empty Storyboard" has no design surface to add controls to..
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Templates ()
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: 15.5
Assignee: Pierce Boggan [MSFT]
Depends on:
Reported: 2017-07-07 16:41 UTC by Pierce Boggan [MSFT]
Modified: 2017-09-11 20:02 UTC (History)
9 users (show)

Is this bug a regression?: ---
Last known good build:

Reproduction project (17.73 KB, application/x-zip-compressed)
2017-07-07 16:42 UTC, Pierce Boggan [MSFT]
IDE Logs (38.65 KB, application/x-zip-compressed)
2017-07-07 16:42 UTC, Pierce Boggan [MSFT]

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Pierce Boggan [MSFT] 2017-07-07 16:41:23 UTC
# Steps to reproduce
1. File -> New -> iOS -> Blank App.
2. Right-click -> Add -> New Item -> iOS -> Empty Storyboard.
3. Connect to a Mac (if not done already).
4. Open the storyboard and attempt to interact with it.

# Expected behavior
User can view the design surface and add controls.

# Actual behavior
Empty storyboard is completely blank with no design surface whatsoever:

# Supplemental info (logs, images, videos)
Logs attached.
Project attached.

Environment Info: https://gist.github.com/pierceboggan/363ef465c39316b16a4299e351387165
Comment 1 Pierce Boggan [MSFT] 2017-07-07 16:42:23 UTC
Created attachment 23403 [details]
Reproduction project
Comment 2 Pierce Boggan [MSFT] 2017-07-07 16:42:40 UTC
Created attachment 23405 [details]
IDE Logs
Comment 3 Alan McGovern 2017-07-07 16:59:56 UTC
You can't put a button as a toplevel. You can only put a ViewController as a top level.
Comment 4 Pierce Boggan [MSFT] 2017-07-07 17:25:53 UTC
OK. So seems like we should ensure there is a view controller in there by default. I wasn't even aware there wasn't one for me to drag things on to. I kept zooming out expecting to see the view controller and never did. Moving to templates.
Comment 5 Alan McGovern 2017-07-07 17:26:30 UTC
Then remove the 'Empty Storyboard' template :p
Comment 6 Alan McGovern 2017-07-07 17:31:00 UTC
More context:

If you want an empty storyboard template, this is correct and should not be changed.

If you want a non-empty storyboard template then call it a `Single ViewController` template or something like that.

Do not create an `Empty Storyboard` template and fill it with controls, that's weird :p
Comment 7 Pierce Boggan [MSFT] 2017-07-07 17:33:39 UTC
Agreed! Interestingly, Visual Studio for Mac does not have a "Empty Storyboard" template, but does have a "Storyboard" template, which is empty.