sdias / win-10-virtual-desktop-enhancer

An application that enhances the Windows 10 multiple desktops feature by adding additional keyboard shortcuts and support for multiple wallpapers.
MIT License
1.77k stars 269 forks source link

Windows not activated/out of focus after desktop switch #132

Open 77cc33 opened 6 years ago

77cc33 commented 6 years ago

Right now I have this combo

MoveWindowAndSwitchToDesktop=Win, Ctrl

Desktop1=F1
Desktop2=F2
Desktop3=F3
Desktop4=F4

If I hit Win + Ctrl+ F1 - it will move window and switch to Desktop1, but it will loose focus for moved window. So if I will hit immediately Win + Ctrl+ F2, it will not move this windows back to Desktop2, as it out of focus.

77cc33 commented 6 years ago

Sees it's the same issue, when just switching to another desktop. For some reason, it's trying to focus on the wrong windows, what is minimized.

journey-of-code commented 6 years ago

I have the problem too. When I switch desktops, the focus stays with the last used application which even receives keystrokes when being on another desktop. This becomes even more annoying when you have a hidden taskbar because the taskbar will then come up and show the application where we came from highligted as can be seen here: grafik I have to click on the highlighted application in order for the task bar to vanish. Great script by the way - the single most important thing missing from Windows 10 in my eyes. Update: Just noticed that the focus is not always with the old application - sometimes the focus is correctly shifted.

kalj commented 5 years ago

I am experiencing this issue as well, with the latest version (0.11.2). I am on Windows 10 Version 1709 OS Build 16299.125.

77cc33 commented 5 years ago

as timely solution I moved to https://github.com/mzomparelli/zVirtualDesktop/

it has the same functionality, but this feature works fine.

zoeesilcock commented 5 years ago

I just updated to Windows 10 1809 and the focus issue started happening. I tried updating to the latest version (0.11.2 at this time) but it didn't help, I guess Microsoft has changed something. I'm pretty sure the "app highlight" described above was happening for me before I updated Windows so they are probably separate issues.

From what I can tell the focus remains on the application I was in when I triggered the desktop change. Previously it would properly select the application at the front of the new desktop as one would expect.

This issue makes this tool almost useless since it adds an extra click to every single desktop change, so it's a high priority problem.