Bug 21353 - Constraint toolbar does not show when enabling Autolayout
Summary: Constraint toolbar does not show when enabling Autolayout
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS Designer ()
Version: 3.1
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2014-07-15 19:37 UTC by John Miller [MSFT]
Modified: 2015-10-13 19:28 UTC (History)
7 users (show)

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

TestProject (1.37 MB, application/zip)
2014-07-15 19:37 UTC, John Miller [MSFT]

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:

Description John Miller [MSFT] 2014-07-15 19:37:23 UTC
Created attachment 7380 [details]

### Overview: 

    When toggling Autolayout on for a storyboard, the constraint toolbar does not appear. 

### Steps to Reproduce: 

    1. Create an iOS storyboard project. 
    2. Open the storyboard file in the designer. 
    3. Click in an open area of the design surface.
    (If Autolayout is already disabled, skip ahead to step 7)
    4. Go to the properties and disable Autolayout if its already enabled.
    5. Save the storyboard file and close it. 
    6. Reopen the storyboard file.
    7. Enable Autolayout by checking the box.    

### Actual Results: 

    The constraint toolbar does not appear. 

### Expected Results: 

    The constraint toolbar should appear when you enable Autolayout.
    Here is an example of how XS looks: http://screencast.com/t/Pj0hLVI0

### Build Date & Platform: 


### Additional Information: 

    A workaround seems to be to save the storyboard file, close it and re-open it and the constraint toolbar will be visible.
    If you run into Visual Studio crashing when you attempt step 4, try running the attached sample project instead which already has auto layout disabled for the iPhone storyboard. This might be because of #20620 which was fixed in XVS 3.3
Comment 1 Udham Singh 2014-07-16 05:31:13 UTC
I have checked this issue with the steps provided in bug description and observed the same behavior mentioned in bug description.

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

Note : With XS on mac, It is working fine and getting behavior as expected.

Environment Info : 

Windows 8.1
VS 2013
Xamarin.iOS Build Host
Comment 2 Joaquin Jares 2015-10-13 16:16:22 UTC
Changing component to designer.
Comment 3 Alan McGovern 2015-10-13 19:28:54 UTC
Doesn't seem to happen in newer builds. It must've been fixed some time in the last year+