Skip to content

[Dark Mode] Selection highlight doesn't move when quickly checking a node's checkbox in TreeView #11941

Open
@Syareel-Sukeri

Description

@Syareel-Sukeri

.NET version

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

Did it work in .NET Framework?

No

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

This is a new feature Dark Mode: #11857

Issue description

The selection highlight does not move to the checked node if the checkbox is clicked quickly when nodes are configured as checkboxes in Dark Mode.

Dark Mode

DarkHighlight.mp4

Classic

ClassicHighlight.mp4

Steps to reproduce

  1. Create a WinForms .NET Core application with TreeView control
  2. Configure a TreeView control with nodes that have checkboxes enabled.
  3. Enable DarkMode by Application.SetColorMode(SystemColorMode.Dark) in Program.cs file
  4. Run the application and open the TreeView.
  5. Click on any node to highlight it.
  6. Quickly click the checkbox of a different node without pausing between actions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-DarkModeIssues relating to Dark Mode featurehelp wantedGood issue for external contributors

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions