Bug 58006 - CTRL + Z in "Source" view of a layout file messes with formatting, even though no changes occur in the layout.
Summary: CTRL + Z in "Source" view of a layout file messes with formatting, even thoug...
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Android Designer ()
Version: unspecified
Hardware: PC Windows
: --- major
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2017-07-07 14:19 UTC by Pierce Boggan [MSFT]
Modified: 2017-07-11 17:58 UTC (History)
7 users (show)

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

IDE Logs (9.01 KB, application/x-zip-compressed)
2017-07-07 14:20 UTC, Pierce Boggan [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 for Bug 58006 on Developer Community 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
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.
Related Links:

Description Pierce Boggan [MSFT] 2017-07-07 14:19:51 UTC
# Steps to reproduce
1. File -> New -> Android -> Blank Android App.
2. Open layouts/Main.axml.
3. Switch to source view. Do not type or make any changes in source view.
4. Control + Z to "undo".

# Expected behavior
This should be a no-op, as I haven't made any changes to my layout.

# Actual behavior
Formatting of the .axml goes buggy:

# Supplemental info (logs, images, videos)
Logs attached.

# Test environment (full version information)
Environment Information: https://gist.github.com/pierceboggan/363ef465c39316b16a4299e351387165
Comment 1 Pierce Boggan [MSFT] 2017-07-07 14:20:25 UTC
Created attachment 23399 [details]
IDE Logs