wpfui icon indicating copy to clipboard operation
wpfui copied to clipboard

The Mica [Light] Theme Not working properly

Open FastChen opened this issue 2 years ago • 4 comments

Describe the bug

i build Test 2.0.3 version DEMO and 3.0 WPF UI Gallery the Mica【Light】Theme They are all not working properly on Win11 22H2 22621.1555 But the【Dark】Theme is work normal

To Reproduce

Create A Mica Style Window and Switch To Light Theme

private void NavigationButtonTheme_OnClick(object sender, RoutedEventArgs e)
{
      Wpf.Ui.Appearance.Theme.Apply(Theme.GetAppTheme() == Wpf.Ui.Appearance.ThemeType.Dark ? Wpf.Ui.Appearance.ThemeType.Light : Wpf.Ui.Appearance.ThemeType.Dark, Wpf.Ui.Appearance.BackgroundType.Mica);
}

i try BackgroundType.AutoBackgroundType.None they will only make more worse

Expected behavior

Should work be like dark theme.

Screenshots

dark light

OS version

Win11 22H2 22621.1555

.NET version

2.0.3 - net6.0-windows10.0.22000.0 3.0 - net7.0-windows10.0.22621.0

WPF-UI NuGet version

2.0.3 and 3.0

Additional context

No response

FastChen avatar May 02 '23 06:05 FastChen

@FastChen Could you try this on the latest preview (preview-10)?

niels9001 avatar Nov 23 '23 10:11 niels9001

@FastChen Could you try this on the latest preview (preview-10)?

I don't have that virtual win11 machine now, but there is no problem with the latest version win11 machine.

FastChen avatar Nov 30 '23 09:11 FastChen

Hey @lepoco, @pomianowski - You have a couple of issues regarding the Mica effect and theme switching. Might be a few duplicates, but would you be so kind to look into these issues? I see a lot of comments in different repositories about them. Thanks!

Jay-o-Way avatar Jun 04 '24 13:06 Jay-o-Way

Hey @Jay-o-Way, the @Muniwedesu, tried to address some of the backdrop issues here https://github.com/lepoco/wpfui/pull/1094

pomianowski avatar Jun 04 '24 20:06 pomianowski