winforms icon indicating copy to clipboard operation
winforms copied to clipboard

[HC] The icon of "AddNew" in DataGridView control is unclear

Open MelonWang1 opened this issue 2 years ago • 1 comments

.NET version

.NET 8.0.100-alpha.1.22451.15

Did it work in .NET Framework?

No

Did it work in any of the earlier releases of .NET Core or .NET 5+?

No, it is not a regression issue

Issue description

Current Behavior: The icon of "AddNew" in DataGridView control is unclear. HC Aquatic theme: data-Aquatic HC Dusk theme: data-Dusk HC Night Sky theme: data-Night sky Expected Behavior: The icon of "AddNew" in DataGridView control should be clear. win11 HC Desert theme: data-Desert win10 HC White theme: data-HC White

Steps to reproduce

  1. Turn on High Contrast theme in Windows settings
  2. Create a WinForms .NET core project
  3. Add a DataGridView control
  4. Expand smart tag and click "Add column..." to add a column
  5. Ctrl+Shift+A add a Application Manifest File and uncomment windows 10
  6. Build and run
  7. Observe the icon of "AddNew"

More info:

  1. This issue cannot repro on win11 HC Desert theme.
  2. This issue is repro on win10 machine but cannot repro on win10 HC White theme.
  3. This issue can repro on framework project.

MelonWang1 avatar Sep 02 '22 02:09 MelonWang1

Looks like the glyph needs to be filled in with white in those themes rather than just outlined in white.

merriemcgaw avatar Sep 07 '22 00:09 merriemcgaw

Verified on latest .NET 8.0.100-preview.2.23101.9, issue is fixed. Screenshot as below: Win10: HC #1 theme: HC_#1

HC #2 theme: HC_#2

HC Black theme: HC_Black

HC White theme: HC_White

Win11: HC Aquatic theme: HC_Aquatic

HC Desert theme: HC_Desert

HC Dusk theme: HC_Dusk

HC Night sky theme: HC_Night sky

MelonWang1 avatar Feb 02 '23 08:02 MelonWang1

Verified with .NET 8 Preview 1 TP build: .NET 8.0.100-preview.1.23108.10, issue was fixed as same as above test result.

John-Qiao avatar Feb 13 '23 08:02 John-Qiao