tauri-apps / tauri

Build smaller, faster, and more secure desktop applications with a web frontend.
https://tauri.app
Apache License 2.0
79.46k stars 2.36k forks source link

[bug] backdrop blur not working when enable window transparent. #10064

Open nawbc opened 2 weeks ago

nawbc commented 2 weeks ago

Describe the bug

https://github.com/tauri-apps/tauri/assets/45007226/4deeb391-4dfe-4d31-935b-99faad4c69d8

Mica effect depends on the window transparent feature.

Reproduction

No response

Expected behavior

No response

Full tauri info output

[✔] Environment
    - OS: Windows 10.0.22631 X64
    ✔ WebView2: 125.0.2535.92
    ✔ MSVC: Visual Studio Community 2022
    ✔ rustc: 1.76.0 (07dca489a 2024-02-04)
    ✔ cargo: 1.76.0 (c84b36747 2024-01-18)
    ✔ rustup: 1.27.0 (bbb9276d2 2024-03-08)
    ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (overridden by 'C:\Users\Han\Desktop\Publish\publish\rust-toolchain.toml')
    - node: 20.11.1
    - yarn: 4.2.2
    - npm: 10.2.4
    - bun: 1.1.0

[-] Packages
    - tauri [RUST]: 2.0.0-beta.20
    - tauri-build [RUST]: 2.0.0-beta.16
    - wry [RUST]: 0.40.0
    - tao [RUST]: 0.28.0
    - @tauri-apps/api : 2.0.0-beta.12
    - @tauri-apps/cli [NPM]: 2.0.0-beta.18

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../../packages/desktop/dist
    - devUrl: https://localhost:3000/

Stack trace

No response

Additional context

No response

amrbashir commented 1 week ago

could you please provide a minimal repro?