Did it work in any of the earlier releases of .NET Core or .NET 5+?
NO
Issue description
DefaultFontin WinForms is static and currently does not consider the DPI of the monitor into consideration. This need to be investigated for all scenarios in PermonitorV2 mode applications.
Currently, DeviceContextand Font are defaulting to primary monitor and seems working as expected but would need deeper investigation/understanding
Steps to reproduce
Any PerMonitor V2 mode WinForms application with dual monitor with different DPI.
@Tanya-Solyanik, this is tracking issue to deal with device context and FOnt being constant in PermonitorV2 screens. Its always created for Primary monitor and reused.
.NET version
.NET 8.0
Did it work in .NET Framework?
No
Did it work in any of the earlier releases of .NET Core or .NET 5+?
NO
Issue description
DefaultFont
in WinForms is static and currently does not consider the DPI of the monitor into consideration. This need to be investigated for all scenarios in PermonitorV2 mode applications.Currently,
DeviceContext
and Font are defaulting to primary monitor and seems working as expected but would need deeper investigation/understandingSteps to reproduce
Any PerMonitor V2 mode WinForms application with dual monitor with different DPI.