Over the last few days I’ve been spending a lot of time with VS.NET 2005 and being a beta and all there are a number of nasty user interface issues with the beta IDE. The worst problem is that there is some sort of focus bug that seems to lock the UI in an endless loop trying to select one control or another.

 

Sometimes clicking away from VS.NET and then back into it seems to fix it but in many situations that doesn’t work. However in a few situations this doesn’t work (especially in WinForms where the cursor seems to get stuck in the toolbar on almost every context switch). It happens quite frequently in Web Forms as well, but not as commonly as WinForms.

 

Anyway, it turns out that you can use Process Explorer from Systernals and its Window|Bring to Front option to force VS.NET to properly release focus of whatever hang up situations it gets into.

 

Another problem I see if I run with multiple instances of the IDE running minimized that I can’t the IDE back to restore to the desktop. Here too, no amount of Windows coercion seems to work, but using Process Explorer and the Bring to Front option causes the UI to pop back up where it’s supposed to be.

 

Maybe this saves some of you some headaches and a few restarts of the VS.NET 2005 IDE…

 

Process Explorer just comes in so handy all the time – don’t know how I ever got along without this utility as my Task Manager replacement