Skip to content
New issue

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

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

Already on GitHub? # to your account

Application Hangs When DPI Aware and Desktop Scaling at 150% #9327

Closed
cwhitlatch opened this issue Feb 9, 2024 · 3 comments
Closed

Application Hangs When DPI Aware and Desktop Scaling at 150% #9327

cwhitlatch opened this issue Feb 9, 2024 · 3 comments
Labels
bug Something isn't working needs-triage Issue needs to be triaged by the area owners
Milestone

Comments

@cwhitlatch
Copy link

Describe the bug

With DPIWare enabled ( via app manifest or programmatically ), when a user has display scaling set to 150% and a nested visual of zero height is present in the visual tree, WinUI3 applications will freeze with only Minimize/Maximize/Close functioning. All managed code will no longer run, including timers and callbacks.

Steps to reproduce the bug

We are struggling to create a reproduction. We can reproduce the issue everytime in our own application.

Expected behavior

The application does not hang / stop responding.

Screenshots

No response

NuGet package version

WinUI 3 - Windows App SDK 1.4.4: 1.4.231219000

Windows version

Windows 11 (22H2): Build 22621

Additional context

No response

@cwhitlatch cwhitlatch added the bug Something isn't working label Feb 9, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label Feb 9, 2024
@cwhitlatch
Copy link
Author

A sample app that DOES NOT REPRO but is similar in structure to our most frequent example: Hang.zip

@cwhitlatch
Copy link
Author

Digging further by enabling all sources/symbols it looks like a Layout Cycle Detected unhandled exception is being thrown. I have tested with 1.5 experimental2 and am still seeing the same issue.

@microsoft-github-policy-service microsoft-github-policy-service bot removed the needs-triage Issue needs to be triaged by the area owners label Feb 11, 2024
@cwhitlatch
Copy link
Author

This issue appears to have been reported several times, and fixed in 1.5. Testing with -experimental2 has shown no recurrence.

@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label Feb 11, 2024
@bpulliam bpulliam added this to the WinAppSDK 1.5 milestone Feb 29, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working needs-triage Issue needs to be triaged by the area owners
Projects
None yet
Development

No branches or pull requests

2 participants