winforms
winforms copied to clipboard
[PerMonitorV2] Height of ListView in tabPage gets smaller and smaller when setting HighDpiMode to PermonitorV2 and moving multiple times through 100&300
- .NET Core Version: .NET Core 7.0.100-preview.3.22152.16
Problem description:
Height of ListView in tabPage gets smaller and smaller.

Expected behavior: The height should not change.
Minimal repro:
- Extract attachment PerMonitorHDPICore.-.NET.7.0.zip, then build and run
- Click “MdiParent-Simple Layout” button to open MdiParent1 Form
- Move MdiParent Form multiple times between 100 and 300, and observe the ListView in TabControl
More info
- This issue occurs when using private dlls based on PR #6752 .
- This issue cannot repro on 100%&150%.
- This issue also repro without private dlls.