Copy dialog “formatting selection” is freezing, ca

2020-08-09 08:47发布

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

4条回答
Fickle 薄情
2楼-- · 2020-08-09 08:49

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

查看更多
疯言疯语
3楼-- · 2020-08-09 09:10

It appears to be a bug that may have been made worse with the last update, I didn't have it until Update 2 but some reports exist pre-update2.

It seems to happen only on big files so you might try taking the time to split them, courtesy of Microsoft :<>

MSDN Link to report

查看更多
走好不送
4楼-- · 2020-08-09 09:12

I just found that if you try to copy and this dialog comes up you can just hit cancel. It still copies the text then you can continue and paste. Basically you don't have to wait until it's done or the dialog closes.

查看更多
▲ chillily
5楼-- · 2020-08-09 09:13

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.

查看更多
登录 后发表回答