You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a Window in a per-monitor DPI-aware app has WindowStyle=ToolWindow, that window does not react to changes in DPI on that monitor when running on Windows 11. It works on Windows 10.
Reproduction Steps
Create a new WPF project.
Create an app manifest that declares per-monitor DPI support.
Create a Window with WindowStyle=ToolWindow.
Run the app on Windows 11.
Open Display Settings and change the DPI setting for the monitor with the window.
Notice that the WPF ToolWindow is the only window on that monitor that did not scale to the new DPI setting.
Making a Window have the ToolWindow style should not prevent it from scaling to DPI changes. It should scale just like a normal window, or like a ToolWindow on Windows 10.
Actual behavior
ToolWindows do not scale to DPI changes.
Regression?
No response
Known Workarounds
Manually resizing the window will cause the window to scale to the new DPI.
Impact
Windows are the wrong size and scale.
Configuration
Windows 11 (all versions)
.NET 6 and .NET 8
x64, ARM64
The issue does not occur when changing to Windows 10.
Other information
No response
The text was updated successfully, but these errors were encountered:
Description
When a
Window
in a per-monitor DPI-aware app hasWindowStyle=ToolWindow
, that window does not react to changes in DPI on that monitor when running on Windows 11. It works on Windows 10.Reproduction Steps
Window
withWindowStyle=ToolWindow
.Or, use the attached example: ToolWindowDpiExample.zip
Expected behavior
Making a Window have the ToolWindow style should not prevent it from scaling to DPI changes. It should scale just like a normal window, or like a ToolWindow on Windows 10.
Actual behavior
ToolWindows do not scale to DPI changes.
Regression?
No response
Known Workarounds
Manually resizing the window will cause the window to scale to the new DPI.
Impact
Windows are the wrong size and scale.
Configuration
The issue does not occur when changing to Windows 10.
Other information
No response
The text was updated successfully, but these errors were encountered: