VisualStudioCodeForCommandPalette icon indicating copy to clipboard operation
VisualStudioCodeForCommandPalette copied to clipboard

Windows are not properly focused

Open im-aIex opened this issue 1 year ago • 3 comments

When selecting an already-open solution it will bring its window to the front but not keep focus. esc or alt-tab is needed to re-focus the window. If the already-open solution's window is on a separate desktop, it should switch to that desktop and focus the window. This functionality worked with the old PowerToys Run version.

Tested with VSCode Insiders.

im-aIex avatar Oct 31 '25 14:10 im-aIex

Hi @im-aIex , can you try to install the latest version from Windows Store. Thanks.

For this fix please checked this setting

Image

tanchekwei avatar Nov 05 '25 05:11 tanchekwei

With that setting enabled it doesn't seem to do anything. It's not launching new instances of VS Code (Insiders) or switching focus to already open instances.

im-aIex avatar Nov 05 '25 21:11 im-aIex

I can confirm this is a nit issue.

Whenever I open a VS Core, it starts in the background, and I have to ALT+TAB to it to start working.

If I check the Use Helper Launcher option, it indeed focuses on the launched VS Code, but it fails to launch the WSL remote project.

Image

I have to uncheck this option to be able to open WSL remote projects again.

Awesome extension, by the way!

ihor-sokoliuk avatar Apr 05 '26 16:04 ihor-sokoliuk