Reputation: 7113
When I press CTRL+X in Visual Studio there's a small delay and the IDE hangs for about 1 second.
I've already checked Environment/Keyboard and the shortcut is assign to Edit.Cut as it's supposed to...
The system was functioning properly and only started to get this situation a few days ago.
What can this be and how can I try to figure out the root of the problem?
EDIT: Figure out that the problem is not the shortcuts but when I do cut or copy. When pasting there's no delay.
Upvotes: 4
Views: 8067
Reputation: 3134
I had the same strange issue, but only in Visual Studio. Turned out it only happened when I had TightVNC connected to a remote PC and did a copy or cut in Visual Studio. Very oddly specific issue for me.
In the TightVNC connection options, selecting "Disable clipboard transfer" "fixed" the issue, but not sure why clipboard transfer (even just a few text characters) would cause such a delay, and only in visual studio not other apps.
Upvotes: 0
Reputation: 11957
Open up a Task Manager window, and in the Processes tab, sort it by the CPU column. When you copy, check which process is using the CPU.
If it's Visual Studio itself then maybe a Reset Settings would fix it (although annoying to do).
If it's something else then at least you have a clue/starting point.
Upvotes: 0
Reputation: 112
It happens because of the high usage of memory and the unnecessary resources that is running. Try restarting your computer and see what happens :) cheers!
Upvotes: 2