Bug 12087 - Android Designer loses XML changes
Summary: Android Designer loses XML changes
Status: RESOLVED FIXED
Alias: None
Product: Android
Classification: Xamarin
Component: Designer ()
Version: 4.6.x
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Lluis Sanchez
URL:
Depends on:
Blocks:
 
Reported: 2013-05-03 08:37 UTC by Dominique Louis
Modified: 2013-05-21 12:05 UTC (History)
2 users (show)

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

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:
Status:
RESOLVED FIXED

Description Dominique Louis 2013-05-03 08:37:47 UTC
Under certain circumstances, when editing the designer XML manually, and then switching back to the WYSIWYG designer, the XML changes are lost. 

Stuart Lodge demonstrated this to me at Evolve using VS2012.

Steps that I remember to reproduce this error are...
Open layout form
Switch to Source, manually create a Button and set its properties(don't save)
Switch back to the designer tab, the button should be displayed.
Switch back to the source tab, and the button code is no longer visible.

I will add Stuart to this bug report, so he can correct any steps/information I may have missed out.
Comment 1 Dominique Louis 2013-05-03 13:06:47 UTC
Stuaart has down a a YouTube video showing the exact steps and scenario...

http://www.youtube.com/watch?v=c4crwXq1pV0
Comment 2 Lluis Sanchez 2013-05-21 12:05:28 UTC
Fixed in bs1.