Skip to content

[Bug] Unfocused TreeViewItem background doesn't follow set theme #546

@CyLuGh

Description

@CyLuGh

Check the following items

  • I have looked up relevant Issue

Description of the issue

When window loses focus, the background of the selected item in a TreeView reverts to a dark blue, not following the theme that has been set.

Image

Package Version

6.0.3 (also tried with the latest committed code)

Environment

Windows 11

Expected Behavior

Background color should follow the theme, or maybe have a more neutral default value? (Not that I have anything against blue but some gray might appear less conflicting when having non-blue UI theme)

Reproduction

This can be seen in the demo application, simply set any non blue theme, select an item in the treeview and click outside the window.

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions