Bug 59366 - Empty Document Outline View
Summary: Empty Document Outline View
Status: CONFIRMED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS Designer (show other bugs)
Version: 4.6.0 (15.3)
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-09-09 00:36 UTC by Daniel
Modified: 2017-10-09 19:09 UTC (History)
7 users (show)

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


Attachments
Empty document outline window (6.52 KB, image/png)
2017-09-09 00:36 UTC, Daniel
Details
zip logs (1.59 MB, application/x-zip-compressed)
2017-09-11 10:38 UTC, Daniel
Details

Description Daniel 2017-09-09 00:36:35 UTC
Created attachment 24665 [details]
Empty document outline window

Since updating to Xamarin 4.6.0, Xamarin.iOS 10.12.0 and Visual Studio 15.3.3 (Windows) there have been frequent problems with the Document Outline window being empty. This can happen when opening an existing xib file or creating a new one. Usually the problem presents itself when an xib file has been opened, closed then re-opened. Once the Document Outline window is empty, the only way to clear the problem is to restart Visual Studio.

This is reasonably easy to reproduce with the following steps:

1. File > New Project > iOS > iPhone > Blank App

2. Project > Add New Item > View1.xib

3. Once the designer has loaded, add some controls to the view from the tool box (i.e. a button and a label)

4. Open the Document Outline window. Sometimes at this stage it will be empty (which is the bug). If it is not empty, got to step 5.

5. Save and close the xib 

6. Open the xib file again. Once it is has loaded, open the Document Outline window again. It will probably be empty. If it is, the only way to get it loading again is to restart Visual Studio.

See attached screenshot from error observed at both steps 4 and 6.

This is quite a big problem since the Document Outline window is incredibly useful when working on complex layouts. Constantly restarting Visual Studio is wasting a lot of time.

Environment details (Windows):
Visual Studio - 15.3.3
Xamarin - 4.6.0.299 (b63523e27)
Xamarin.iOS and Xamarin.Mac SDK - 10.12.0.20 (80b8487)

Environment details (Mac build host):
Xamarin.iOS - 10.12


Thanks.
Comment 1 Prashant [MSFT] 2017-09-11 04:41:36 UTC
Thanks so much for taking the time to submit this report! 

I’m unable to reproduce this issue using the latest Visual Studio 2015 version 15.3.3

Please attach the following to help us reproduce this issue:
-Detailed reproduction steps
-Version information (Help → About Microsoft Visual Studio → Copy Info)
-Logs (Help → Xamarin → Zip Logs (last 7 days))
-Optional: project to reproduce your issue
Comment 2 Daniel 2017-09-11 10:37:51 UTC
Details steps to reproduce are in my previous comment. Did you really try them? My colleague on a different PC can repro the problem using exactly the same steps. 

Here is the other info you asked for:

Microsoft Visual Studio Community 2017 
Version 15.3.3
VisualStudio.15.Release/15.3.3+26730.12
Microsoft .NET Framework
Version 4.7.02046

Installed Version: Community

Visual Basic 2017   00369-60000-00001-AA268
Microsoft Visual Basic 2017

Visual C# 2017   00369-60000-00001-AA268
Microsoft Visual C# 2017

Visual F# 4.1   00369-60000-00001-AA268
Microsoft Visual F# 4.1

Application Insights Tools for Visual Studio Package   8.8.00712.1
Application Insights Tools for Visual Studio

ASP.NET and Web Tools 2017   15.0.30726.0
ASP.NET and Web Tools 2017

ASP.NET Core Razor Language Services   1.0
Provides languages services for ASP.NET Core Razor.

ASP.NET Template Engine 2017   15.0.30726.0
ASP.NET Template Engine 2017

ASP.NET Web Frameworks and Tools 2012   4.0.20601.0
For additional information, visit https://www.asp.net/

ASP.NET Web Frameworks and Tools 2017   5.2.50601.0
For additional information, visit https://www.asp.net/

Azure App Service Tools v3.0.0   15.0.30728.0
Azure App Service Tools v3.0.0

Azure Data Lake Node   1.0
This package contains the Data Lake integration nodes for Server Explorer.

Azure Data Lake Tools for Visual Studio   2.2.9000.1
Microsoft Azure Data Lake Tools for Visual Studio

Azure Data Lake Tools for Visual Studio   2.2.9000.1
Microsoft Azure Data Lake Tools for Visual Studio

Common Azure Tools   1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

Fabric.DiagnosticEvents   1.0
Fabric Diagnostic Events

JavaScript Language Service   2.0
JavaScript Language Service

JavaScript UWP Project System   2.0
JavaScript UWP Project System

JetBrains ReSharper Ultimate 2017.1.1    Build 108.0.20170407.122957
JetBrains ReSharper Ultimate package for Microsoft Visual Studio. For more information about ReSharper Ultimate, visit http://www.jetbrains.com/resharper. Copyright © 2017 JetBrains, Inc.

Merq   1.1.17-rc (cba4571)
Command Bus, Event Stream and Async Manager for Visual Studio extensions.

Microsoft Azure HDInsight Azure Node   2.2.9000.1
HDInsight Node under Azure Node

Microsoft Azure Hive Query Language Service   2.2.9000.1
Language service for Hive query

Microsoft Azure Service Fabric Tools for Visual Studio   1.7
Microsoft Azure Service Fabric Tools for Visual Studio

Microsoft Azure Stream Analytics Language Service   2.2.9000.1
Language service for Azure Stream Analytics

Microsoft Azure Stream Analytics Node   1.0
Azure Stream Analytics Node under Azure Node

Microsoft Azure Tools   2.9
Microsoft Azure Tools for Microsoft Visual Studio 2017 - v2.9.50719.1

Microsoft Continuous Delivery Tools for Visual Studio   0.3
Simplifying the configuration of continuous build integration and continuous build delivery from within the Visual Studio IDE.

Microsoft JVM Debugger   1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines

Microsoft MI-Based Debugger   1.0
Provides support for connecting Visual Studio to MI compatible debuggers

Microsoft Visual Studio VC Package   1.0
Microsoft Visual Studio VC Package

Mono Debugging for Visual Studio   4.6.8-pre (ec7034f)
Support for debugging Mono processes with Visual Studio.

NuGet Package Manager   4.3.1
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

SlowCheetah - XML config transforms   1.0
This package enables you to transform your app.config or any other XML file based on the build configuration. It also adds additional tooling to help you create XML transforms.

SQL Server Data Tools   15.1.61707.200
Microsoft SQL Server Data Tools

ToolWindowHostedEditor   1.0
Hosting json editor into a tool window

TypeScript   2.3.4.0
TypeScript tools for Visual Studio

Visual Studio Code Debug Adapter Host Package   1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio

Visual Studio Tools for Universal Windows Apps   15.0.26730.08
The Visual Studio Tools for Universal Windows apps allow you to build a single universal app experience that can reach every device running Windows 10: phone, tablet, PC, and more. It includes the Microsoft Windows 10 Software Development Kit.

WebJobs Tools v1.0.0   __RESXID_PRODUCTVERSION__
WebJobs Tools v1.0.0

Xamarin   4.6.0.299 (b63523e27)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android SDK   7.4.0.21 (2851083)
Xamarin.Android Reference Assemblies and MSBuild support.

Xamarin.iOS and Xamarin.Mac SDK   10.12.0.20 (80b8487)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.

Will upload zip logs now.
Comment 3 Daniel 2017-09-11 10:38:24 UTC
Created attachment 24676 [details]
zip logs
Comment 4 Pierce Boggan [MSFT] 2017-10-03 16:45:26 UTC
Information provided, moving back to NEW state.
Comment 5 Jimmy [MSFT] 2017-10-09 19:09:42 UTC
I am able to reproduce this with VS2017 15.3.5 and 15.4 using the steps provided in the description.

Note You need to log in before you can comment on or make changes to this bug.