dotnet / dotnet/winforms

[DPI] The icon of child form was covered when running on 300% DPI

Open
#5,100 1 comment 0 reactions 0 assignees View on GitHub
:beetle: bug area-HDPI-SA area-MDI
Dominant language
C#
Stars
4.9k
Forks
1.1k
Avg merge
20h 23m
Merged PRs (30d)
103

Description

* .NET Core Version:
.NET 6.0.100-preview.6.21313.2 + private binaries build from main branch in dotnet/winforms repo [New.zip](https://github.com/dotnet/winforms/files/6653420/New.zip)

* Have you experienced this same bug with .NET Framework?:
No

**Expected behavior:**
The icon of child form display correctly when running on 300% DPI.

**Minimal repro:**
1. Set the screen DPI as 300%.
2. Open the attached the application. [Issue21.zip](https://github.com/dotnet/winforms/files/6653435/Issue21.zip)
3. Build & run the application.
4. Add a child form for the MDIParent1 form.
5. Observe the icon of child form.

**Actual Results:**
![image](https://user-images.githubusercontent.com/38325459/122005917-0e4c2c80-cd6b-11eb-9260-68b89440fdf0.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.