The Windows App SDK empowers all Windows desktop apps with modern Windows UI, APIs, and platform features, including back-compat support, shipped via NuGet.
I have developed a window using Qt (PySide6), and I encountered a problem when dragging the window between two monitors. The issue specifically occurs when the secondary monitor is set to 150% or other options except 100% scaling.
When I drag the window from one monitor to another, sometimes the window display becomes distorted, and only about a quarter of the content is visible. Despite the visual distortion, the window still responds to clicks and other interactions as if the full content were displayed normally. The window returns to normal only after I interact with another application window, such as clicking on it.
Describe the bug
I have developed a window using Qt (PySide6), and I encountered a problem when dragging the window between two monitors. The issue specifically occurs when the secondary monitor is set to 150% or other options except 100% scaling.
When I drag the window from one monitor to another, sometimes the window display becomes distorted, and only about a quarter of the content is visible. Despite the visual distortion, the window still responds to clicks and other interactions as if the full content were displayed normally. The window returns to normal only after I interact with another application window, such as clicking on it.
I also report this bug on Microsoft Commumity. https://answers.microsoft.com/en-us/windows/forum/windows_11-wintop_display/critical-ui-bug-qt-application-window-fails-to/cbda0b25-91cd-43f3-9cf4-305555d9a8b6?messageId=28167823-e72f-4bfd-a756-d34408c77e32
Steps to reproduce the bug
Expected behavior
No response
Screenshots
NuGet package version
None
Packaging type
Unpackaged
Windows version
Windows 11 version 22H2 (22621, 2022 Update)
IDE
Other
Additional context
No response