dotnet / winforms

Windows Forms is a .NET UI framework for building Windows desktop applications.
MIT License
4.42k stars 984 forks source link

[Dark Mode] Indeterminate CheckState icon barely visible #11933

Open Liv-Goh opened 2 months ago

Liv-Goh commented 2 months ago

.NET version

9.0.0-rc.1.24418.2 + build private dll from winforms repo main branch

Did it work in .NET Framework?

Not tested/verified

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

This is a new feature Dark Mode: https://github.com/dotnet/winforms/pull/11857

Issue description

The indeterminate check state icon is barely visible in Dark Mode. Controls affected are ContextMenuStrip, MenuStrip, StatusStrip DropDownButton and ToolStrip DropDownButton

Dark Mode Screenshot 2024-08-20 134113 (1)

Classic Mode Screenshot 2024-08-20 134353 (1)

Steps to reproduce

  1. Create a WinForms project
  2. Add a ContextMenuStrip to the form
  3. Add a toolStripMenuItem to the ContextMenuStrip
  4. Change the property of the toolStripMenuItem as below
    • Checked : True
    • CheckState : Indeterminate
  5. Set form ContextMenuStrip property to contextMenuStrip1
  6. Run the project and observe the indeterminate Checkstate icon
dotnet-policy-service[bot] commented 2 months ago

This issue is now marked as "help wanted", and we’re looking for a community volunteer to work on this issue. If we receive no interest in 180 days, we will close the issue. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!