Bug 33552 - Undo history is completely lost when switching from source to designer
Summary: Undo history is completely lost when switching from source to designer
Alias: None
Product: Android
Classification: Xamarin
Component: Designer ()
Version: unspecified
Hardware: PC Mac OS
: Normal normal
Target Milestone: ---
Assignee: Jérémie Laval
Depends on:
Reported: 2015-09-01 13:48 UTC by Rob DeRosa
Modified: 2016-01-12 13:20 UTC (History)
2 users (show)

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 for Bug 33552 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:

Description Rob DeRosa 2015-09-01 13:48:39 UTC
Undo history seems to be wiped when you preview your UI ("Content") and then switch back to source.
Comment 1 Abhishek 2016-01-12 13:20:41 UTC
I have tried this issue and able to reproduce this issue at my end.

Steps To Reproduce:
1. Create an Android application.
2. Open the designer file.
3. open the source file of designer.
4. Add the new button.
5. Undo option is visible under Edit menu.
6. Now switch from source to designer and select the button to undo it. Undo option is disable under Edit menu.

note: Same behavior getting while performing the same operation from designer to source level.

Screencast: http://www.screencast.com/t/44GvnaO5
Ide Log: https://gist.github.com/Abhishekk360/64329dcdb9df7ceaaa42

Environment Info:

=== Xamarin Studio ===

Version 5.10.2 (build 50)
Installation UUID: 93e693b0-b53d-40f4-b29c-b61ff5cbe892
	Mono 4.2.2 (explicit/d5c4649)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 402020023

=== Xamarin.Profiler ===

Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler

=== Xamarin.Android ===

Version: (Enterprise Edition)
Android SDK: /Users/xamarin23/Desktop/android-sdk-macosx
	Supported Android versions:
		2.3    (API level 10)
		4.0.3  (API level 15)
		4.1    (API level 16)
		4.2    (API level 17)
		4.3    (API level 18)
		4.4    (API level 19)
		4.4.87 (API level 20)
		5.0    (API level 21)
		5.1    (API level 22)
		6.0    (API level 23)

SDK Tools Version: 24.4.1
SDK Platform Tools Version: 23.1
SDK Build Tools Version: 23.0.2

Java SDK: /usr
java version "1.7.0_71"
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)

=== Xamarin Android Player ===

Version: 0.6.1
Location: /Applications/Xamarin Android Player.app

=== Apple Developer Tools ===

Xcode 7.1 (9079)
Build 7B91b

=== Xamarin.Mac ===

Version: (Enterprise Edition)

=== Xamarin.iOS ===

Version: (Enterprise Edition)
Hash: 122b860
Branch: master
Build date: 2016-01-05 20:20:30-0500

=== Build Information ===

Release ID: 510020050
Git revision: 63da12d16f2ab00849bd9dd59d08ba7f5f05d578
Build date: 2016-01-11 19:27:34-05
Xamarin addins: 55f2d3596d8c1229f68d10e2b94332ca67222b48
Build lane: monodevelop-lion-cycle6-c6sr1

=== Operating System ===

Mac OS X 10.10.5
Darwin 800BC.local 14.5.0 Darwin Kernel Version 14.5.0
    Wed Jul 29 02:26:53 PDT 2015
    root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64