Bug 36593 - Constraint handles invisible in storyboards with large number of view controllers
Summary: Constraint handles invisible in storyboards with large number of view control...
Status: VERIFIED FIXED
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: Pavel Yakovlev
URL:
Depends on:
Blocks:
 
Reported: 2015-12-04 13:21 UTC by Adam Hartley [MSFT]
Modified: 2018-04-11 11:39 UTC (History)
13 users (show)

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


Attachments
Sample (20.09 KB, application/x-zip-compressed)
2015-12-04 13:21 UTC, Adam Hartley [MSFT]
Details
Zip Xamarin Logs (100.80 KB, application/zip)
2016-01-22 17:32 UTC, Atin
Details
Image illustrating the issue (8.94 KB, image/png)
2017-04-16 21:24 UTC, Andreas B
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:
VERIFIED FIXED

Description Adam Hartley [MSFT] 2015-12-04 13:21:15 UTC
Created attachment 14120 [details]
Sample

## Steps to reproduce

1. Download attached project and open in Visual Studio (with connected Mac)
2. Open EmptyStoryboard1.storyboard (this may take some time)
3. Click on the button, then click again

## Expected result

Constraint handles should be visible

## Actual result

Constraint handles are not visible

## Notes

Constraint handles are visible when doing the same in Main.storyboard

Microsoft Visual Studio Professional 2015
Version 14.0.23107.0 D14REL
Microsoft .NET Framework
Version 4.6.00079

Installed Version: Professional

Visual Basic 2015   00322-40000-00000-AA421
Microsoft Visual Basic 2015

Visual C# 2015   00322-40000-00000-AA421
Microsoft Visual C# 2015

Visual C++ 2015   00322-40000-00000-AA421
Microsoft Visual C++ 2015

Visual F# 2015 RC   00322-40000-00000-AA421
Microsoft Visual F# 2015 RC

Windows Phone SDK 8.0 - ENU   00322-40000-00000-AA421
Windows Phone SDK 8.0 - ENU

Application Insights Tools for Visual Studio Package   1.0
Application Insights Tools for Visual Studio

ASP.NET and Web Tools   14.0.20626.0
ASP.NET and Web Tools

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

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

GenerateUnitTest   1.0
Generates unit test code for methods in classes under test.

Microsoft Azure Mobile Services Tools   1.4
Microsoft Azure Mobile Services Tools

NuGet Package Manager   3.2.0
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.

Python Tools for Visual Studio   2.2.30718.00
Python Tools for Visual Studio provides IntelliSense, projects, templates, Interactive windows, and other support for Python developers.

Python Tools for Visual Studio - Django Integration   2.2.30718.00
Provides templates and integration for the Django web framework.

Python Tools for Visual Studio - Profiling Support   2.2.30718.00
Profiling support for Python projects.

SQL Server Data Tools   14.0.50616.0
Microsoft SQL Server Data Tools

Visual Studio Tools for Universal Windows Apps   14.0.23309.00 d14oob
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.0.0.1697 (deffc90)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android   6.0.0.34 (3efa14c)
Visual Studio plugin to enable development for Xamarin.Android.

Xamarin.iOS   9.2.1.51 (3c0ec35)
Visual Studio extension to enable development for Xamarin.iOS.
Comment 1 Atin 2016-01-22 17:31:43 UTC
I have checked this issue and able to reproduce the reproduce the reported behavior given in the bug description. 

Screencast: http://www.screencast.com/t/zHRKnjxxSKA7

Environment Info:

Microsoft Visual Studio Professional 2013
Version 12.0.40629.00 Update 5
Microsoft .NET Framework
Version 4.6.01055

Installed Version: Professional

Xamarin   4.0.1.84 (60a4d68)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android   6.0.1.9 (8dd1a77)
Visual Studio plugin to enable development for Xamarin.Android.

Xamarin.iOS   9.4.1.24 (47eb74b)
Visual Studio extension to enable development for Xamarin.iOS.
Comment 2 Atin 2016-01-22 17:32:12 UTC
Created attachment 14675 [details]
Zip Xamarin Logs
Comment 3 Andreas B 2017-04-16 21:24:37 UTC
Created attachment 21564 [details]
Image illustrating the issue

In case it helps to solve the issue I would like to mention that what actually seems to happen is that things are rendered, but they are rendered behind the view controllers.

Please see the attached image where you can see the same problem affecting other things aswell.
Comment 4 Andreas B 2017-08-18 08:25:46 UTC
Is this issue properly triaged?

On one of the other issues I followed that went largely ignored, Alan McGovern mentioned that one was improperly triaged.
Comment 5 John Miller [MSFT] 2017-12-05 19:06:47 UTC
Hi Andreas,

I apologize for the gap in time to address this report. I saw a forum post mentioning this and I was unable to reproduce it with the latest 15.5 release. Are you still able to reproduce the problem with that version?
Comment 6 Andreas B 2017-12-06 16:03:40 UTC
Hi John, thank you very much for replying.

I updated both my PC and mac to the latest version (15.5) and the problem still occurs. Do remember that the problem does not occur on small storyboards, but on larger ones.

I'm running VS 2015. I'm planning to try 2017 as well, but I'll have to get back to you on that (installing takes a very long time).

Here's a video showing the problem:
https://youtu.be/R48QJtUCHps
As you can see in the video:
00:05 - only width / height constraint handles are visible, you can also see the mouse cursor change when hovering over the invisible other constraint handles
00:11 - the constraint itself is only visible outside of the viewcontroller, it appears to be rendered behind it
00:17 - you can see a part of an existing constraint rendered at the border of the viewcontroller

I will attach the storyboard I have problems with in a private attachment for you to try. If you need an actual solution/project, please tell me and I'll do that (can't open VS at the moment due to VS2017 installer running).
Comment 7 Andreas B 2017-12-06 16:10:52 UTC
Since I cannot add private attachments ("Sorry, but you are not allowed to (un)mark comments or attachments as private. ") I have emailed the storyboard to John Miller.
Comment 9 John Miller [MSFT] 2017-12-06 18:11:37 UTC
I am able to reproduce the issue using the storyboard from Comment 8.
Comment 11 xamarin-release-manager 2018-04-03 18:34:52 UTC
Fixed in version 4.13.0.245 (master)

Author: Pavel Yakovlev
Commit: cf985128dfb6f2f61a0ad72cc6ee011c7b7e2e46 (xamarin/designer)
Comment 12 xamarin-release-manager 2018-04-03 18:36:03 UTC
Fixed in version 4.13.0.245 (master)

Author: Pavel Yakovlev
Commit: cf985128dfb6f2f61a0ad72cc6ee011c7b7e2e46 (xamarin/designer)
Comment 13 xamarin-release-manager 2018-04-10 10:13:31 UTC
Fixed in version 4.12.0.251 (d15-7)

Author: Pavel Yakovlev
Commit: 1bb0d172d049fde2f2e26e2b3a5bc188d68cba7e (xamarin/designer)
Comment 14 xamarin-release-manager 2018-04-10 10:13:56 UTC
Fixed in version 4.12.0.251 (d15-7)

Author: Pavel Yakovlev
Commit: 1bb0d172d049fde2f2e26e2b3a5bc188d68cba7e (xamarin/designer)