When testing my app in Hyper-V, if I switch focus outside of Hyper-V and a new window activates in the meantime, I’m unable to focus on the new window and click the button.
It’s possible to focus on the new window and click the button.
Screenshots
No response
NuGet package version
Windows App SDK 1.6.1: 1.6.240923002
Packaging type
Unpackaged
Windows version
Windows 11 version 22H2 (22621, 2022 Update)
IDE
Visual Studio 2022
Additional context
If I click at the window and then I press any key, it starts working again. Looks like it's related to 1.6, I'm not able to replicate it with "1.5.240607001" and "10.0.26100.1" version.
Describe the bug
When testing my app in Hyper-V, if I switch focus outside of Hyper-V and a new window activates in the meantime, I’m unable to focus on the new window and click the button.
https://github.com/user-attachments/assets/e7d2bec7-3b64-4c0a-9468-b65d208440ab
Steps to reproduce the bug
FocusBug.zip
Expected behavior
It’s possible to focus on the new window and click the button.
Screenshots
No response
NuGet package version
Windows App SDK 1.6.1: 1.6.240923002
Packaging type
Unpackaged
Windows version
Windows 11 version 22H2 (22621, 2022 Update)
IDE
Visual Studio 2022
Additional context
If I click at the window and then I press any key, it starts working again. Looks like it's related to 1.6, I'm not able to replicate it with "1.5.240607001" and "10.0.26100.1" version.