Bug 45084 - Visual Studio shows Mac Build Host connected after getting disconnected.
Summary: Visual Studio shows Mac Build Host connected after getting disconnected.
Status: RESOLVED ANSWERED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: XMA ()
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Pierce Boggan [MSFT]
URL:
Depends on:
Blocks:
 
Reported: 2016-10-05 21:09 UTC by Pierce Boggan [MSFT]
Modified: 2016-12-20 18:54 UTC (History)
5 users (show)

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


Attachments
Visual Studio logs (12.65 KB, application/x-zip-compressed)
2016-10-05 21:10 UTC, Pierce Boggan [MSFT]
Details
Mac Build Host logs (5.14 KB, application/x-zip-compressed)
2016-10-05 21:12 UTC, Pierce Boggan [MSFT]
Details


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:
Status:
RESOLVED ANSWERED

Description Pierce Boggan [MSFT] 2016-10-05 21:09:33 UTC
# Steps to reproduce
1. Disconnect Mac Build Host.
2. Mac Build Host icon in Visual Studio toolbar will disappear.

# Expected behavior
In the select, Mac Build Host dialog, the icon will be the normal Mac icon without the lock (to signify not connected).

# Actual behavior
The lock icon appears next to the connection. This is slightly deceptive as users could get confused as to if the connection is actually dead.

# Supplemental info (logs, images, videos)
Here's what it looks like: http://screencast.com/t/2Yg7kr65qr

Mac Build Host logs - attached as attachment.
Visual Studio logs - attached as attachment.

# Test environment (full version information)
## Visual Studio
Microsoft Visual Studio Community 2015
Version 14.0.25431.01 Update 3
Microsoft .NET Framework
Version 4.6.01586

Installed Version: Community

Visual Basic 2015   00322-20000-00000-AA140
Microsoft Visual Basic 2015

Visual C# 2015   00322-20000-00000-AA140
Microsoft Visual C# 2015

Visual C++ 2015   00322-20000-00000-AA140
Microsoft Visual C++ 2015

Visual F# 2015   00322-20000-00000-AA140
Microsoft Visual F# 2015

Windows Phone SDK 8.0 - ENU   00322-20000-00000-AA140
Windows Phone SDK 8.0 - ENU

Application Insights Tools for Visual Studio Package   7.8.00927.1
Application Insights Tools for Visual Studio

ASP.NET and Web Tools 2015.1 (Beta8)   14.1.11107.0
ASP.NET and Web Tools 2015.1 (Beta8)

ASP.NET Web Frameworks and Tools 2012.2   4.1.41102.0
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563

ASP.NET Web Frameworks and Tools 2013   5.2.40314.0
For additional information, visit http://www.asp.net/

Command Bus, Event Stream and Async Manager   Merq
Provides ICommandBus, IEventStream and IAsyncManager MEF services for loosely coupled Visual Studio extension components communication and integration.

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

GitHub.VisualStudio   1.0
A Visual Studio Extension that brings the GitHub Flow into Visual Studio.

JavaScript Language Service   2.0
JavaScript Language Service

JavaScript Project System   2.0
JavaScript Project System

Microsoft Azure Mobile Services Tools   1.4
Microsoft Azure Mobile Services Tools

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

PreEmptive Analytics Visualizer   1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

SQL Server Data Tools   14.0.60519.0
Microsoft SQL Server Data Tools

TypeScript   1.8.36.0
TypeScript tools for Visual Studio

Visual Studio Tools for Universal Windows Apps   14.0.25527.01
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.

Xamarin   4.2.0.695 (7603786)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android   7.0.1.2 (c1d1c79)
Visual Studio extension to enable development for Xamarin.Android.

Xamarin.iOS   10.0.0.1 (29910bb)
Visual Studio extension to enable development for Xamarin.iOS.

## Mac Build Host
=== Xamarin Studio Community ===

Version 6.1.1 (build 15)
Installation UUID: 36df85d5-4ad6-467f-9940-3da0622f3e47
Runtime:
    Mono 4.6.1 (mono-4.6.0-branch-c8sr0/abb06f1) (64-bit)
    GTK+ 2.24.23 (Raleigh theme)

    Package version: 406010003

=== NuGet ===

Version: 3.4.3.0

=== Xamarin.Profiler ===

Not Installed

=== Apple Developer Tools ===

Xcode 8.1 (11526.1)
Build 8T29o

=== Xamarin.iOS ===

Version: 10.0.1.9 (Xamarin Studio Community)
Hash: 5f6ed20
Branch: cycle8-sr0-xi
Build date: 2016-09-28 18:25:54-0400

=== Xamarin.Mac ===

Version: 2.10.0.104 (Xamarin Studio Community)

=== Xamarin.Android ===

Version: 7.0.1.2 (Xamarin Studio Community)
Android SDK: /Users/pierce/Library/Developer/Xamarin/android-sdk-macosx
    Supported Android versions:
        6.0 (API level 23)

SDK Tools Version: 25.1.2
SDK Platform Tools Version: 24.0.0
SDK Build Tools Version: 23.0.2

Java SDK: /usr
java version "1.7.0_71"
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)

Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL

=== Xamarin Android Player ===

Not Installed

=== Build Information ===

Release ID: 601010015
Git revision: fa52f02641726146e2589ed86ec4097fbe101888
Build date: 2016-09-22 08:03:02-04
Xamarin addins: 75d65712af93d54dc39ae4c42b21dfa574859fd6
Build lane: monodevelop-lion-cycle8-sr0

=== Operating System ===

Mac OS X 10.12.0
Darwin Pierces-MacBook-Pro-2.local 16.0.0 Darwin Kernel Version 16.0.0
    Mon Aug 29 17:56:20 PDT 2016
    root:xnu-3789.1.32~3/RELEASE_X86_64 x86_64
Comment 1 Pierce Boggan [MSFT] 2016-10-05 21:10:23 UTC
Created attachment 17892 [details]
Visual Studio logs
Comment 2 Pierce Boggan [MSFT] 2016-10-05 21:12:24 UTC
Created attachment 17893 [details]
Mac Build Host logs
Comment 3 mag@xamarin.com 2016-12-20 18:54:06 UTC
Pierce,

The behaviour that you describe is expected. There are three possible states regarding connection and disconnection. Find below:

1 - Connected to the Mac: XMA toolbar icon green and Server Selector Dialog with the "lock" or "chain" icon in both the right side of the connected Mac and also in the Mac icon in the left side: http://screencast.com/t/jaHWIdYx

2 - Disconnected from the Mac and Mac marked as a "known" server: XMA toolbar icon gray and Server Selector Dialog without "lock" or "chain" icon in the right side of the Mac but with it in the Mac icon in the left side: http://screencast.com/t/YCzxJFyywmt

3 - Disconnected from the Mac and Mac marked as a "forgotten" server: XMA toolbar icon gray and Server Selector Dialog without "lock" or "chain" icon in both the right side and also in the left side in the Mac icon: http://screencast.com/t/yhhuB79ySc

So, I think that the misunderstanding here is to consider the "lock" or "chain" icon in the left side of the Mac in the Server Selector Dialog as a connection mark, while that icon is used to differentiate known servers from unknown servers.

Even if we could use a more descriptive icon in the right side of the Mac in the Server Selector Dialog to show it as connected, we are not planning to change the icons in the short term, so I mark this bug as Resolved Answered.