Skip to content

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

Description

@ptoshkov

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions