Switching theme loses transparency
Nobody has claimed this yet.
- 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
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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