Bug 10385 - Forms not saving properly in VS2012
Summary: Forms not saving properly in VS2012
Alias: None
Product: Android
Classification: Xamarin
Component: Designer ()
Version: 4.4.x
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Lluis Sanchez
Depends on:
Reported: 2013-02-18 12:54 UTC by Allie Miller
Modified: 2013-03-25 04:52 UTC (History)
4 users (show)

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

Image 1 (38.89 KB, image/png)
2013-02-18 14:51 UTC, Eugene Bosikov
Image 2 (43.03 KB, image/png)
2013-02-18 14:51 UTC, Eugene Bosikov

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 or GitHub 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 Allie Miller 2013-02-18 12:54:59 UTC
When using the same form, the change is only applied when you do it first time, second time you already cannot change form and all settings will be applied to -port
Not for what you selected: -sw600dp-port

Steps to reproduce this error:

1. Create a layout

2. Lock for '-port' - do changes

3. Lock for '-sw600dp-port' - do changes

4. Save and close a form

5. Open Select -sw600dp-port - No Yellow line configuration - If you are going to change something it will apply for all layouts - Default, - port and -sw600dp-port

The workaround for this so far has been to do everything manually.
Comment 2 Eugene Bosikov 2013-02-18 14:51:21 UTC
Created attachment 3406 [details]
Image 1
Comment 3 Eugene Bosikov 2013-02-18 14:51:37 UTC
Created attachment 3407 [details]
Image 2
Comment 4 Lluis Sanchez 2013-03-13 07:26:22 UTC

*** This bug has been marked as a duplicate of bug 7477 ***
Comment 5 Lluis Sanchez 2013-03-18 12:23:57 UTC
This wasn't a duplicate after all, the bug title confused me. The correct qualifiers will now be locked when you select a layout version using the "Alt Layout" drop down menu.
Comment 6 Nischal 2013-03-25 03:54:59 UTC
Today with the latest builds:

VS 2012/2010
MFA 4.6.01079
Mono 2.10.12

And we have observed that the issue still exists, as after following the steps mentioned in the description of the issue, when we close and reopen the .axml file the changes does not appears as saved.

As the option "Small Screen Width (480 dp)" appears as unchecked and also appears as unlocked. Similarly, the portrait mode is unlocked.

Below is the screencast for the same:

And this happening on Windows as well as on Mac

Hence, reopening this issue.
Comment 7 Lluis Sanchez 2013-03-25 04:12:39 UTC
Nischal, the reproduction of the bug is not correct, you didn't do step 5. The sw600dp-port configuration has to be selected using the Alt Layout dropdown menu.
Comment 8 Nischal 2013-03-25 04:52:07 UTC
As per the above comments, after saving the changes the configuration is successfully getting saved into the Alt Layout Dropdown.

Hence, closing this issue.