UWP window fails to fill client area
Describe the bug
UWP window will suddenly fails to fill client area when dragging the window to resize, usually after some extended period of system up time (something like 1 week of not restarting). And when this happens, all UWP window (including system settings) behaves the same. If you drag the window border to enlarge the window, new client area becomes transparent. Note: The app is NOT freezing, and is still interactive (even buttons in the transparent area is clickable if you try)
This issues happens universally, throughout any Windows 10 and 11 versions, and any hardware. (There are intel, amd, and nvidia gpu users reporting this)
WinUI3 window, win32 window and XAML island does not have such issue.
Restarting dwm.exe does NOT fix this issue.
Steps to reproduce the bug
- Not sure how to reproduce, just keep the system running for some days. The longer it runs, it happens more likely.
Expected behavior
No response
Screenshots
Also this reddit
https://github.com/microsoft/WindowsAppSDK/assets/42881734/db993c36-96cf-4008-a09d-d2859fb2ca29
NuGet package version
None
Packaging type
Packaged (MSIX)
Windows version
No response
IDE
No response
Additional context
No response
the same issue here for my Microsoft Todo
version: Microsoft Todo 2.114.7122.0 Windows 11 Professional 22621.3880
We appreciate your input. Since this relates to UWP and the Windows App SDK targets desktop-based project types, we’ll close this issue as not planned. For guidance on migrating from UWP to Windows App SDK, see: https://learn.microsoft.com/windows/apps/windows-app-sdk/migrate-to-windows-app-sdk/migrate-to-windows-app-sdk-ovw