Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Copy dialog "formatting selection" is freezing, causing the GUI to hang, how to turn it off?

Tags:

I just updated Visual Studio 2015 professional with update 2 and when I am copying or even highlighting something in code an anoying popup comes with a cancel button and takes about 1-5 seconds and makes the whole thing freeze. It comes up as I am selecting/copying one word or many lines of code. How do I turn this off until Microsoft fixes whatever this is...enter image description here

like image 871
kiev Avatar asked Apr 19 '16 18:04

kiev


2 Answers

I have Visual Studio 2015 Update 3 and still have the issue mentioned above. This manifests itself, in a GUI dialogue saying "Copying from...." or "Pasting.." when doing simple copy and paste operations.

I found that the issue was related to CodeLens, some update has just come out which interferes with this. I will investigate and put my findings here.

Other things that can also affect this are:

1) Network related issues, if you network is slow or dropping packets I found my GUI would lock up with no noticeable traces (Task Manager, Resource Monitor)

2) Signing into Visual Studio from within VS 2015, my account had got into a bad state for some reason and lost the credentials. This was not obvious and in the background something must have been trying over and over again, causing the GUI to lock up but also, anytime I worked on a new file it would hang for 3-5 seconds. I signed out and everything started to work normally.

3) Hardware acceleration in Visual Studio enabled (it is by default) and video drivers misbehaving.

like image 122
Ralph Willgoss Avatar answered Sep 28 '22 05:09

Ralph Willgoss


I had the same issue, and installed Update 3, which seems to have corrected it.

like image 23
Seth Flowers Avatar answered Sep 28 '22 05:09

Seth Flowers