-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
area-HDPIHDPI, not specific to Dpi mode of appHDPI, not specific to Dpi mode of apparea-HDPI-PMv2Issues related to high DPI PerMonitorV2 modeIssues related to high DPI PerMonitorV2 mode
Milestone
Description
.NET version
8.0.7
Did it work in .NET Framework?
No.
Did it work in any of the earlier releases of .NET Core or .NET 5+?
.Net 5 - 7 have similar problem but the difference is match smaller.
Can't test 9.0RC1 due to build error:
(ResolvePackageAssets target) -> C:\Program Files\dotnet\sdk\9.0.100-rc.1.24452.12\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(266,5):
error NETSDK1060: Error reading assets file: Error loading lock file 'e:\Projects\Other\core tests\WinFormsPerMonitorV2\obj\project.assets.json' :
Could not load file or assembly 'System.Text.Json, Version=8.0.0.4, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
Issue description
PerMonitorV2 app.
- launch on screen with dpi A will result in
ClientSize = CLS1. The same as launchSystemAwareapp. - launch on screen with dpi B and then drag to screen A will result in
ClientSize = CLS2.
And CLS1 != CLS2.
Steps to reproduce
- launch app, change scale in windows settings.
- launch app again - compare
ClientSizevalues.
or
- Change scale in windows settings to other then 100%.
- launch app, change scale in windows settings to100%.
- launch app again - compare
ClientSizevalues.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-HDPIHDPI, not specific to Dpi mode of appHDPI, not specific to Dpi mode of apparea-HDPI-PMv2Issues related to high DPI PerMonitorV2 modeIssues related to high DPI PerMonitorV2 mode
