Did it work in any of the earlier releases of .NET Core or .NET 5+?
No, it also repro on .NET 6.0 & 7.0.
Issue description
The default ImageIcon in ToolStrip is smaller than Text on 300% primary screen with app created on 100% DPI under PermonitorV2/SystemAware modes.
The default ImageIcon in ToolStrip is larger than Text on 100% primary screen with app created on 300% DPI under DpiUnware/PermonitorV2/SystemAware modes.
Steps to reproduce
Launch VS instance on 100% primary screen.
Create a WinForms .NET core project.
Add <ApplicationHighDpiMode>PerMonitorV2</ApplicationHighDpiMode> in csproj file.
Drag and drop a ToolStrip to form designer.
Then insert standard items for MenuStrip/ToolStrip via clicking ‘Insert Standard Items’ in controls’ Tasks panel.
Close this project.
Launch VS instance on 300% primary screen.
Build and run.
Or:
Extract and open TestApp.zip on 300% primary screen.
Build and run it.
Actual result:
The default ImageIcon in ToolStrip is smaller than Text on 300% primary screen.
Expected result:
The default ImageIcon in ToolStrip should be scaled well on 300% primary screen.
More info:
This issue repro on PermonitorV2/SystemAware modes when app created on 100% DPI and run app on 300% DPI and it doesn't repro on DpiUnware mode.
This issue repro on DpiUnware/PermonitorV2/SystemAware modes when app created on 300% DPI and run app on 100% DPI.
.NET version
.NET 8.0.100-alpha.1.22565.7
Did it work in .NET Framework?
Yes
Did it work in any of the earlier releases of .NET Core or .NET 5+?
No, it also repro on .NET 6.0 & 7.0.
Issue description
The default ImageIcon in ToolStrip is smaller than Text on 300% primary screen with app created on 100% DPI under PermonitorV2/SystemAware modes.
The default ImageIcon in ToolStrip is larger than Text on 100% primary screen with app created on 300% DPI under DpiUnware/PermonitorV2/SystemAware modes.
Steps to reproduce
<ApplicationHighDpiMode>PerMonitorV2</ApplicationHighDpiMode>
in csproj file.Or:
Actual result: The default ImageIcon in ToolStrip is smaller than Text on 300% primary screen.
Expected result: The default ImageIcon in ToolStrip should be scaled well on 300% primary screen.
More info: