lepoco / lepoco/wpfui

DataGridComboBoxColumn looks wrong in dark mode

Open
#977 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C#
Stars
9.6k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

Describe the bug

DataGridComboBoxColumn appears with white background in dark mode. Since the foreground color is white, the texts cannot be read. The problem doesn't occur in light mode.

To Reproduce

Add a DataGridComboBoxColumn in a ui:DataGrid and view the application in light mode.

Expected behavior

The background of the ComboBox displayed with DataGridComboBoxColumn should appear with a dark background color in dark mode.

Screenshots

image

OS version

Windows 11 Pro 22H2 22621.3085

.NET version

.NET 8.0

WPF-UI NuGet version

3.0.0

Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names DataGridComboBoxColumn and ui:DataGrid but no files or tests. First reproduce the control in dark mode on the stated WPF/.NET setup, then trace the relevant theme or control entry points; done means the ComboBox has a dark background and its white text is readable without breaking light mode.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.