Bug 60519 - Removing the Name of a control does not delete the <outlet> entry in the Storyboard file
Summary: Removing the Name of a control does not delete the <outlet> entry in the Stor...
Status: RESOLVED NORESPONSE
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS Designer ()
Version: 4.8.0 (15.5)
Hardware: PC Windows
: Normal normal
Target Milestone: Future Cycle
Assignee: Dmitry Petrishin
URL:
Depends on:
Blocks:
 
Reported: 2017-11-03 19:38 UTC by John Miller [MSFT]
Modified: 2018-02-08 16:14 UTC (History)
6 users (show)

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

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 NORESPONSE

Description John Miller [MSFT] 2017-11-03 19:38:45 UTC
## Overview

After deleting the Name property of a control, the <outlet> tag created in the Storyboard file for that Name remains. 

## Steps to Reproduce

1. Create a new Single View iOS App
2. Open the storyboard file
3. Drag a Button onto the View
4. Type in a Name via the Properties > Name textbox with the Button selected

At this step, there is an <outlet> connection in the Storyboard file. Verify by opening the storyboard in a text editor and search the xml for the same Name you used in step 4. 

5. Delete the Name value for the Button and save the storyboard. 

## Actual Results

Edit the storyboard file in a text editor again and notice that the <outlet> for it remains. 

## Expected Results

The <outlet> entry should be removed. 

## Additional Details

VSMac 7.3 behaves as expected and correctly removes the <outlet> entry. 

## Version Info

Microsoft Visual Studio Enterprise 2017 Int Preview (Dogfood)
Version 15.5.0 Preview 3.0 [27101.0.d15rel]
VisualStudio.15.IntPreview/15.5.0-pre.3.0+27101.0.d15rel
Microsoft .NET Framework
Version 4.7.02556

Installed Version: Enterprise

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

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

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

Application Insights Tools for Visual Studio Package   8.10.01017.1
Application Insights Tools for Visual Studio

ASP.NET and Web Tools 2017   15.0.31024.0
ASP.NET and Web Tools 2017

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

Azure App Service Tools v3.0.0   15.0.31025.0
Azure App Service Tools v3.0.0

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

JavaScript Language Service   2.0
JavaScript Language Service

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

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

Mono Debugging for Visual Studio   4.8.4-pre (3fe64e3)
Support for debugging Mono processes with Visual Studio.

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

SQL Server Data Tools   15.1.61710.120
Microsoft SQL Server Data Tools

TypeScript Tools   15.5.11025.1
TypeScript Tools for Microsoft Visual Studio

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

VisualStudio.Mac   1.0
Mac Extension for Visual Studio

Xamarin   4.8.0.713 (f0e7af2)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin Designer   4.8.143 (14e3edba0)
Visual Studio extension to enable Xamarin Designer tools in Visual Studio.

Xamarin.Android SDK   8.1.0.22 (HEAD/0baf02a75)
Xamarin.Android Reference Assemblies and MSBuild support.

Xamarin.iOS and Xamarin.Mac SDK   11.4.0.98 (25c6ba1)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.
Comment 1 John Miller [MSFT] 2017-11-03 19:41:30 UTC
## Regression Check

Does not appear to be a regression

15.5 Preview 3: BAD
15.4.2 Stable: Bad
Comment 2 Nikita Matrosov 2017-11-08 14:49:19 UTC
John, I've tried to reproduce this bug with 15.4.2 and with master branch without any luck - http://recordit.co/a2YBsMI0AJ. Did I miss something?
Comment 3 John Miller [MSFT] 2017-11-08 15:45:09 UTC
@Nikita,

The steps look OK in the recording. Were you unable to reproduce with 15.4.2 like I was? Can you confirm if 15.5 Preview 3 reproduces the issue but master does not?
Comment 4 Nikita Matrosov 2017-11-10 12:27:26 UTC
John,

I tried three configurations:
1) 15.4.2
2) 15.5 Preview 3
3) master branch along 15.4.2 (https://github.com/xamarin/designer#windows-1)

No one of them reproduces this issue.

Can you verify whether this bug reproduces with other elements, e.g. <segue/> and attach sample project?