lepoco / lepoco/wpfui

Switching theme loses transparency

Open
#1,163 4 comments 0 reactions 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

When switching light to dark (or other way around) mica or acrylic transparency is lost.

To Reproduce

Can be tried on simple demo (https://github.com/lepoco/wpfui/tree/main/src/Wpf.Ui.Demo.Simple/)

Expected behavior

Theme should remain transparent

Screenshots

Before_after

OS version

Windows 11 Pro
Version 23H2
OS-version 22631.3880
Windows Feature Experience Pack 1000.22700.1020.0

.NET version

net 8.0, SDK 9 preview

WPF-UI NuGet version

3.0.4

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

Start with the demo in src/Wpf.Ui.Demo.Simple/ and reproduce the issue on Windows 11 with WPF-UI 3.0.4 by switching between light and dark themes. Trace the theme and transparency behavior, then verify that mica or acrylic transparency remains enabled after each switch.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.