Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not possible to focus to a new activated window while being focused outside of VM (Hyper-V) #10124

Open
Prochy opened this issue Oct 30, 2024 · 2 comments
Labels
area-Windowing bug Something isn't working Regression team-CompInput Issue for IXP (Composition, Input) team

Comments

@Prochy
Copy link

Prochy commented Oct 30, 2024

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.

focusBugRecord.mp4

Steps to reproduce the bug

  1. I compiled with: dotnet publish -p:Configuration=Debug --self-contained true -p:RuntimeIdentifier=win-x64 -p:Platform=x64 -p:WindowsAppSDKSelfContained=true --output Publish
  2. Run App8.exe inside Hyper-V
  3. Switch focus outside VM
  4. Wait 5 seconds till new window is activated.

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.

@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label Oct 30, 2024
@RDMacLachlan RDMacLachlan transferred this issue from microsoft/WindowsAppSDK Oct 31, 2024
@codendone
Copy link
Contributor

Maybe related to #10091 ?

@karkarl karkarl added team-CompInput Issue for IXP (Composition, Input) team Regression area-Windowing bug Something isn't working and removed needs-triage Issue needs to be triaged by the area owners labels Oct 31, 2024
@Prochy
Copy link
Author

Prochy commented Nov 1, 2024

Seems to me more related to this #10009

Didn’t notice this bug while creating mine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Windowing bug Something isn't working Regression team-CompInput Issue for IXP (Composition, Input) team
Projects
None yet
Development

No branches or pull requests

3 participants