Bug 37514 - Saving axml file causes few second freeze
Summary: Saving axml file causes few second freeze
Status: RESOLVED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Android Designer ()
Version: 4.0.0 (C6)
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Juan Marcelo Tondato
URL:
Depends on:
Blocks:
 
Reported: 2016-01-08 08:35 UTC by matthias.voigt
Modified: 2016-02-19 20:08 UTC (History)
9 users (show)

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


Attachments
Logs (5.49 KB, application/zip)
2016-02-13 18:32 UTC, Cody Beyer (MSFT)
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:
RESOLVED FIXED

Description matthias.voigt 2016-01-08 08:35:55 UTC
Every time I save a axml file (using text editor usually) VS freezes for about 3-5 seconds. This is really annoying. This of course happens also before rebuild, when VS saves automatically.
Comment 1 Tajinder Singh 2016-01-12 11:49:21 UTC
I have checked this issue with latest C6SR1 build and not able to reproduce this bug. Please refer to screencast: http://www.screencast.com/t/fB98827lkjh

Could you please provide me VS logs, Video and Environment Info.

My Environment Info:
Xamarin.VisualStudio_4.0.1.69_21aad6212b81987a20109cdab39efe33b6743a2d

Microsoft Visual Studio Professional 2013
Version 12.0.40629.00 Update 5
Microsoft .NET Framework
Version 4.6.01040

Xamarin   4.0.1.69 (21aad62)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android   6.0.1.5 (50280e4)
Visual Studio plugin to enable development for Xamarin.Android.

Xamarin.iOS   9.4.1.20 (122b860)
Visual Studio extension to enable development for Xamarin.iOS.
Comment 2 matthias.voigt 2016-01-19 08:57:33 UTC
Hello, 
while creating a screencast I noticed one thing: on a clean project the freeze is so short, that I almost can't show it (you just feel it). But I may not show in actual projects.

So I guess the problem is in rebuilding the Ids. With a lot of files it always takes a few seconds, also on colleagues computers. 

Also this problem does not show with XML Editor - only with "Android Designer". If I should use the XML Editor, you should remove this designer probably.

Microsoft Visual Studio Community 2015
Version 14.0.24720.00 Update 1
Microsoft .NET Framework
Version 4.6.01038

Xamarin   4.0.0.1717 (1390b70)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android   6.0.0.35 (d300845)
Visual Studio plugin to enable development for Xamarin.Android.

Xamarin.iOS   9.3.99.33 (ea30b32)
Visual Studio extension to enable development for Xamarin.iOS.
Comment 3 softlion 2016-01-22 16:50:12 UTC
+1, but only on one PC not the other. Only difference are the installed plugins in VS2015.
Comment 4 Jérémie Laval 2016-01-29 19:33:51 UTC
Can you provide the list of the different plugins? Can you provide the solution that causes the issue or some form of reproduction? You should also attach your VS logs to see if anything stands out there.
Comment 5 Cody Beyer (MSFT) 2016-02-13 18:31:45 UTC
I have a report of similar behavior 

### Logs

Attached

### Versions

Microsoft Visual Studio Community 2015
Version 14.0.24720.00 Update 1
Microsoft .NET Framework
Version 4.6.01038

Installed Version: Community

Visual Basic 2015 00322-20000-00000-AA863
Microsoft Visual Basic 2015

Visual C# 2015 00322-20000-00000-AA863
Microsoft Visual C# 2015

Visual C++ 2015 00322-20000-00000-AA863
Microsoft Visual C++ 2015

Windows Phone SDK 8.0 - ENU 00322-20000-00000-AA863
Windows Phone SDK 8.0 - ENU

Application Insights Tools for Visual Studio Package 1.0
Application Insights Tools for Visual Studio

ASP.NET and Web Tools 2015.1 (Beta8) 14.1.11106.0
ASP.NET and Web Tools 2015.1 (Beta8)

ASP.NET Web Frameworks and Tools 2012.2 4.1.41102.0
For additional information, visit
http://go.microsoft.com/fwlink/?LinkID=309563

ASP.NET Web Frameworks and Tools 2013 5.2.30624.0
For additional information, visit http://www.asp.net/

Common Azure Tools 1.5
Provides common services for use by Azure Mobile Services and Microsoft
Azure Tools.

GorillaPlayerPackage Extension 1.0
GorillaPlayerPackage Visual Studio Extension Detailed Info

JetBrains ReSharper Ultimate 10.0.2 Build 104.0.20151218.120627
JetBrains ReSharper Ultimate package for Microsoft Visual Studio. For more
information about ReSharper Ultimate, visit
http://www.jetbrains.com/resharper. Copyright © 2016 JetBrains, Inc.

Microsoft Azure Mobile Services Tools 1.4
Microsoft Azure Mobile Services Tools

NuGet Package Manager 3.3.0
NuGet Package Manager in Visual Studio. For more information about NuGet,
visit http://docs.nuget.org/.

PreEmptive Analytics Visualizer 1.2
Microsoft Visual Studio extension to visualize aggregated summaries from
the PreEmptive Analytics product.

SQL Server Data Tools 14.0.50616.0
Microsoft SQL Server Data Tools

TypeScript 1.7.6.0
TypeScript for Microsoft Visual Studio

Visual Studio Tools for Apache Cordova Update 5
Visual Studio Tools for Apache Cordova

Visual Studio Tools for Universal Windows Apps 14.0.24720.00
The Visual Studio Tools for Universal Windows apps allow you to build a
single universal app experience that can reach every device running Windows
10: phone, tablet, PC, and more. It includes the Microsoft Windows 10
Software Development Kit.

Xamarin 4.0.1.96 (dcea9c1)
Visual Studio extension to enable development for Xamarin.iOS and
Xamarin.Android.

Xamarin.Android 6.0.1.10 (e98e962)
Visual Studio plugin to enable development for Xamarin.Android.

Xamarin.iOS 9.4.1.24 (47eb74b)
Visual Studio extension to enable development for Xamarin.iOS.
Comment 6 Cody Beyer (MSFT) 2016-02-13 18:32:26 UTC
Created attachment 15035 [details]
Logs
Comment 7 Cody Beyer (MSFT) 2016-02-17 04:02:21 UTC
Setting as NEW in light of new information provided in comment 5 and comment 6
Comment 8 Jérémie Laval 2016-02-17 19:18:16 UTC
There is nothing specifically I can see in there apart from Resharper stuff. I'll echo comment 4 and ask if the problem persists once Resharper and other similar plugins are disabled.
Comment 11 Jérémie Laval 2016-02-19 20:07:28 UTC
Changes have been made to the text editor infrastructure in the next version of Visual Studio (version 99.0.0.1562, going in the Alpha channel today or tomorrow) that could impact this positively.

Since I cannot reproduce this problem with those changes on my machine I will close the bug for now but if the problem persists for anyone feel free to re-open.
Comment 12 Jérémie Laval 2016-02-19 20:08:24 UTC
Also moving bug to the person who did those changes if it ends up being re-opened.