Bug 40623 - [XVS Cycle 6 SR 3] In certain environments, the "Design" and "Source" tabs are not displayed in the Android .axml designer
Summary: [XVS Cycle 6 SR 3] In certain environments, the "Design" and "Source" tabs ar...
Status: VERIFIED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Android Designer ()
Version: 4.0.0 (C6)
Hardware: PC Windows
: Normal normal
Target Milestone: 4.1.0 (C7)
Assignee: Juan Marcelo Tondato
URL:
: 40347 ()
Depends on:
Blocks:
 
Reported: 2016-04-21 19:17 UTC by Brendan Zagaeski (Xamarin Team, assistant)
Modified: 2016-05-13 06:52 UTC (History)
6 users (show)

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


Attachments
Missing tabs in Android designer (from a user report) (68.26 KB, image/png)
2016-04-21 19:17 UTC, Brendan Zagaeski (Xamarin Team, assistant)
Details
Missing tabs in Android designer (from a user report with VS set to English UI language) (200.19 KB, image/jpeg)
2016-04-21 19:50 UTC, Brendan Zagaeski (Xamarin Team, assistant)
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 Brendan Zagaeski (Xamarin Team, assistant) 2016-04-21 19:17:55 UTC
Created attachment 15809 [details]
Missing tabs in Android designer (from a user report)

[XVS Cycle 6 SR 3] In certain environments, the "Design" and "Source" tabs are not displayed in the Android .axml designer




## Workaround

1. Right-click the `.axml` file in the Solution Explorer.

2. Select "Open With...".

3. Select "XML (Text) Editor" from the dialog.




## Regression status: suspected regression in Cycle 6 – Service Release 3

Based on several user reports of this issue, the problem seems to be a new issue in Cycle 6 – Service Release 3 compared to Service Release 2.




## Steps to replicate (on affected environments)

1. Create a new "Visual C# > Android > Blank App (Android)" solution.

2. Double-click the "Resources\layout\Main.axml" file to open it in the Android designer.




## Actual results

The Android designer window does not display any tabs.




## Expected results

The Android designer window should display two tabs: one labeled "Design" and one labeled "Source".
Comment 1 Brendan Zagaeski (Xamarin Team, assistant) 2016-04-21 19:23:39 UTC
## Probably already resolved in the Cycle 7 Beta versions

The Android designer uses a different approach in the Cycle 7 Beta versions, so the code path that led to these absent tabs probably no longer exists.


If any users who are seeing this on "Cycle 6 – Service Release 3" still see the issue after updating to the Cycle 7 Beta versions (or higher), please leave a comment on this bug report and include your full "Xamarin" version from "Help > About Microsoft Visual Studio". Thanks in advance!
Comment 2 Brendan Zagaeski (Xamarin Team, assistant) 2016-04-21 19:26:30 UTC
*** Bug 40347 has been marked as a duplicate of this bug. ***
Comment 4 Brendan Zagaeski (Xamarin Team, assistant) 2016-04-21 19:50:03 UTC
Created attachment 15810 [details]
Missing tabs in Android designer (from a user report with VS set to English UI language)

I will include one additional screenshot from http://forums.xamarin.com/discussion/comment/191522/#Comment_191522 to illustrate that the problem can also affect VS when using English as the UI language.

(The earlier attached screenshot had French set as the UI language.)
Comment 5 Jose Gallardo 2016-05-12 22:29:28 UTC
The Designer/Source tabs implementation has changed in Cycle7, and that should fix this issue.

Please verify with C7 latest bits.

Thanks!
Comment 6 Danish Akhtar 2016-05-13 06:52:07 UTC
I have checked this issue with latest C7 XVS 4.1.0.488 and observed that now its working fine, we are getting  Designer/Source tabs in Android designer. Here is the screencast for the same: http://www.screencast.com/t/j7YEFCkR

I have also reproduce this issue with C6 XVS 4.0.1.73

Environment  info:
https://gist.github.com/Udham1/45bd5dd084668e10e615e7e3fc818aeb