WindowsVirtualDesktopHelper
WindowsVirtualDesktopHelper copied to clipboard
[Bug]: Jump To Desktop (Alt+#) Does Focus On The Correct Window
What happened?
Hello! Thanks for making the wonderful WVDH. I use it a lot.
I have noticed that when jumping to virtual desktops (alt+#) using WVDH there is a problem with the focus.
Preconditions:
- "Use Hot Key to Jump to Desktop" is enabled in WVDH settings and mapped to Alt+#
- There are two virtual desktops in Task View - Desktop 1 & Desktop 2
Steps
- Switch to Desktop 1 and open Notepad
- Switch to Desktop 2 and open CMD
- Press Alt+1 to jump to Desktop 1
- Press Alt+2 to jump to Desktop 2
- Press Alt+1 to jump to Desktop 1
- Press Alt+2 to jump to Desktop 2
- Press Alt+1 to jump to Desktop 1
Expected: Focus is on Notepad. If you type, for example, "abc", then "abc" will appear in Notepad Actual: Focus is on CMD in Desktop 2.
Additional information:
At step 7 the icon of Notepad in the taskbar is flashing in red. Sometimes the issue is already visible at step 3. Sometimes the issue is already visible at step 5. Seems like a timing issue.
WVDH Version
2.0
Windows Version
Windows 11 Pro 24H2 build 26100.4351
Relevant log output
Yeah, I have several browsers for different purposes and often times accidently close tabs in wrong browser because of this bug