WindowsVirtualDesktopHelper icon indicating copy to clipboard operation
WindowsVirtualDesktopHelper copied to clipboard

[Bug]: Jump To Desktop (Alt+#) Does Focus On The Correct Window

Open ptoshkov opened this issue 5 months ago • 1 comments

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:

  1. "Use Hot Key to Jump to Desktop" is enabled in WVDH settings and mapped to Alt+#

Image

  1. There are two virtual desktops in Task View - Desktop 1 & Desktop 2

Image

Steps

  1. Switch to Desktop 1 and open Notepad
  2. Switch to Desktop 2 and open CMD
  3. Press Alt+1 to jump to Desktop 1
  4. Press Alt+2 to jump to Desktop 2
  5. Press Alt+1 to jump to Desktop 1
  6. Press Alt+2 to jump to Desktop 2
  7. 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


ptoshkov avatar Jun 29 '25 10:06 ptoshkov

Yeah, I have several browsers for different purposes and often times accidently close tabs in wrong browser because of this bug

NSurtsev avatar Aug 06 '25 14:08 NSurtsev