Skip to content
This repository has been archived by the owner on Dec 23, 2018. It is now read-only.

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

Open
77cc33 opened this issue Sep 27, 2018 · 5 comments
Open

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

77cc33 opened this issue Sep 27, 2018 · 5 comments

Comments

@77cc33
Copy link

77cc33 commented Sep 27, 2018

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
Copy link
Author

77cc33 commented Sep 28, 2018

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.

@77cc33 77cc33 changed the title Focus to moved window after MoveWindowAndSwitchToDesktop Windows not activated after desktop is switched [lost window focus] Sep 28, 2018
@77cc33 77cc33 changed the title Windows not activated after desktop is switched [lost window focus] Windows not activated/out of focus after desktop switch Sep 28, 2018
@journey-of-code
Copy link

journey-of-code commented Sep 30, 2018

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
Copy link

kalj commented Oct 4, 2018

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
Copy link
Author

77cc33 commented Oct 4, 2018

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

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

@zoeesilcock
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants