Bug 61207 - Storyboard with more than 26 ViewControllers - Disappearing constraint lines
Summary: Storyboard with more than 26 ViewControllers - Disappearing constraint lines
Status: RESOLVED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS Designer ()
Version: 4.8.0 (15.5)
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Pavel Yakovlev
URL:
Depends on:
Blocks:
 
Reported: 2018-02-02 14:49 UTC by John Miller [MSFT]
Modified: 2018-02-28 23:43 UTC (History)
6 users (show)

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


Attachments
Sample Project (21.45 KB, application/zip)
2018-02-02 14:52 UTC, John Miller [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 FIXED

Description John Miller [MSFT] 2018-02-02 14:49:18 UTC
## Steps to Reproduce

In Xamarin iOS project if storyboard has more than 26 View Controllers the constraint lines become invisible (disappear) on each ViewController.

Create iOS project with storyboard

Open storyboard, remove all view controllers (if any exist)

Place a new ViewController

Place a Button and a Label on the ViewController

Switch to Constraints mode and create some constraints. Click on Label or Button and observe the fact that existing blue constraint lines are VISIBLE

Add 25 more ViewController. Now you have 26 total.

Return to the first ViewController, Click on Label or Button and observe the fact that existing blue constraint lines are STILL VISIBLE.

Add one more ViewController. Now you have 27 total.

Return to the first ViewController, Click on Label or Button and observe the fact that:

## Expected Behavior

existing blue constraint lines are STILL VISIBLE

## Actual Behavior

constraint lines are NO LONGER VISIBLE.

## Environment

Microsoft Visual Studio Professional 2017
Version 15.5.5
VisualStudio.15.Release/15.5.5+27130.2026
Microsoft .NET Framework
Version 4.7.02046

Installed Version: Professional

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

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

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

Application Insights Tools for Visual Studio Package 8.10.01106.1
Application Insights Tools for Visual Studio

ASP.NET and Web Tools 2017 15.0.31127.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.31106.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

JavaScript Project System 2.0
JavaScript Project System

JavaScript UWP Project System 2.0
JavaScript UWP Project System

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

Microsoft Visual Studio VC Package 1.0
Microsoft Visual Studio VC Package

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

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

VisualStudio.Mac 1.0
Mac Extension for Visual Studio

Xamarin 4.8.0.760 (fc93f3f5b)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin Designer 4.8.188 (c5813fa34)
Visual Studio extension to enable Xamarin Designer tools in Visual Studio.

Xamarin.Android SDK 8.1.5.0 (HEAD/75f8c6838)
Xamarin.Android Reference Assemblies and MSBuild support.

Xamarin.iOS and Xamarin.Mac SDK 11.6.1.4 (db807ec)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.Steps to Reproduce

In Xamarin iOS project if storyboard has more than 26 View Controllers the constraint lines become invisible (disappear) on each ViewController.

Create iOS project with storyboard

Open storyboard, remove all view controllers (if any exist)

Place a new ViewController

Place a Button and a Label on the ViewController

Switch to Constraints mode and create some constraints. Click on Label or Button and observe the fact that existing blue constraint lines are VISIBLE

Add 25 more ViewController. Now you have 26 total.

Return to the first ViewController, Click on Label or Button and observe the fact that existing blue constraint lines are STILL VISIBLE.

Add one more ViewController. Now you have 27 total.

Return to the first ViewController, Click on Label or Button and observe the fact that:

Expected Behavior

existing blue constraint lines are STILL VISIBLE

Actual Behavior

constraint lines are NO LONGER VISIBLE.

Environment

Microsoft Visual Studio Professional 2017
Version 15.5.5
VisualStudio.15.Release/15.5.5+27130.2026
Microsoft .NET Framework
Version 4.7.02046

Installed Version: Professional

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

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

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

Application Insights Tools for Visual Studio Package 8.10.01106.1
Application Insights Tools for Visual Studio

ASP.NET and Web Tools 2017 15.0.31127.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.31106.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

JavaScript Project System 2.0
JavaScript Project System

JavaScript UWP Project System 2.0
JavaScript UWP Project System

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

Microsoft Visual Studio VC Package 1.0
Microsoft Visual Studio VC Package

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

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

VisualStudio.Mac 1.0
Mac Extension for Visual Studio

Xamarin 4.8.0.760 (fc93f3f5b)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin Designer 4.8.188 (c5813fa34)
Visual Studio extension to enable Xamarin Designer tools in Visual Studio.

Xamarin.Android SDK 8.1.5.0 (HEAD/75f8c6838)
Xamarin.Android Reference Assemblies and MSBuild support.

Xamarin.iOS and Xamarin.Mac SDK 11.6.1.4 (db807ec)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.
Comment 1 John Miller [MSFT] 2018-02-02 14:49:52 UTC
Originally filed on GitHub: https://github.com/xamarin/xamarin-macios/issues/3379

I can also reproduce with VS Mac 7.5 Build 250.
Comment 2 John Miller [MSFT] 2018-02-02 14:52:50 UTC
Created attachment 26151 [details]
Sample Project

Use this project to reproduce the issue.
Comment 4 Pavel Yakovlev 2018-02-09 16:44:36 UTC
PR: https://github.com/xamarin/designer/pull/602
Comment 5 Alex Corrado [MSFT] 2018-02-28 23:43:06 UTC
Fixed on master by https://github.com/xamarin/designer/commit/f3c3a039e8950d541e6142bd57d46e7b3d1ac9f4