Skip to content

[bug] Default window shadows missing on macOS with Tauri v2.0.0-alpha.8 #6909

@stephenlrandall

Description

@stephenlrandall

Describe the bug

In the latest Tauri alpha (v2.0.0-alpha.8) on macOS, window shadows are missing. Below is a screenshot of the same application, built using v1.3.0 and v2.0.0-alpha.8.

Screenshot 2023-05-08 at 4 45 59 PM

Using "shadow": true in the tauri.windows section of tauri.conf.json restores the expected behavior, suggesting that the default was flipped in Tauri v2.

Reproduction

Create a windowed application in Tauri on macOS with v2.0.0-alpha.8.

Expected behavior

I expect the window to have the same default shadow that all other macOS windows have.

Platform and versions

[✔] Environment
    - OS: Mac OS 13.3.1 X64
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.69.0 (84c898d65 2023-04-16)
    ✔ Cargo: 1.69.0 (6e9a83356 2023-04-12)
    ✔ rustup: 1.26.0 (5af9b9484 2023-04-05)
    ✔ Rust toolchain: stable-x86_64-apple-darwin (default)
    - node: 18.4.0
    - pnpm: 8.4.0
    - npm: 8.19.2

[-] Packages
    - tauri [RUST]: 2.0.0-alpha.8
    - tauri-build [RUST]: 2.0.0-alpha.4
    - wry [RUST]: 0.27.3
    - tao [RUST]: 0.18.3
    - @tauri-apps/api [NPM]: 2.0.0-alpha.3
    - @tauri-apps/cli [NPM]: 2.0.0-alpha.8

[-] App
    - build-type: bundle
    - CSP: unset
    - distDir: ../build
    - devPath: http://localhost:3000/
    - framework: Svelte
    - bundler: Vite

Stack trace

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions