Skip to content

[Problem/Bug]: Mica effect stopped working #5409

@Andreas-Froyland

Description

@Andreas-Froyland

What happened?

Hi, I have some issues with the Mica effect in our application. We have built an application on Tauri, which uses WebView2. In tauri, we use the Window Vibrancy crate to apply the Mica effect as a background to our app. This worked great and gave a nice look to the application. However, after a recent update to Windows/WebView2, this stopped working.

Below are images of our application, one in a Virtual Machine running an older win 11 build with an older WebView2, and one running locally on the latest Windows version with the latest WebView2. Both are running the same version of the application. "Transparency effects" is turned on in settings on both.

Mica is working:
Image

Mica not working, window is focused:
Image

Importance

Moderate. My app's user experience is affected, but still usable.

Runtime Channel

Stable release (WebView2 Runtime), Prerelease (Edge Canary/Dev/Beta)

Runtime Version

141.0.3537.99

SDK Version

No response

Framework

Other

Operating System

Windows 11

OS Version

10.0.26200

Repro steps

  1. Set Mica as the background effect ( set DWMWA_SYSTEMBACKDROP_TYPE to DWMSBT_MAINWINDOW)
  2. Mica should apply as background color. It does not.

Repros in Edge Browser

No, issue does not reproduce in the corresponding Edge version

Regression

Regression in newer Runtime

Last working version (if regression)

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingregressionSomething used to work but doesn't anymore

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions