Skip to content

[Dark Mode] the text of the disabled items still is visible after focus on it by using mouse when setting the RenderMode as System #14089

@Zheng-Li01

Description

@Zheng-Li01

.NET version

latest .NET 10.0 build

Did it work in .NET Framework?

Yes

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

Not reproduce 10.0 Preview4 that all disabled items cannot be focused by using mouse.

Issue description

The text of the disabled items still is visible after focus on it by using mouse when setting the RenderMode as System
Expected Results:

ExpectedResults.mp4

Actual Results:

ActualResults.mp4

Steps to reproduce

  1. Create a .NET winforms project with a MenuStrip control
  2. Setting the RenderMode property as System for menuStrip1
  3. Add some subitems for the menustrip1, and set the Enable as False for the subitem
  4. Set app under Dark mode in program.cs file:
    Application.SetColorMode(SystemColorMode.Dark);
  5. Run the application

More info:

  1. The issue cannot reproduce when setting the RenderMode as ManagerRenderMode/Professional

Metadata

Metadata

Assignees

No one assigned

    Labels

    💥 regression-releaseRegression from a public releasearea-DarkModeIssues relating to Dark Mode featureuntriagedThe team needs to look at this issue in the next triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions