Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
stephenlrandall opened this issue May 8, 2023 · 0 comments · Fixed by #6916
Closed

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

stephenlrandall opened this issue May 8, 2023 · 0 comments · Fixed by #6916
Labels
platform: macOS status: needs triage This issue needs to triage, applied to new issues type: bug

Comments

@stephenlrandall
Copy link

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

@stephenlrandall stephenlrandall added status: needs triage This issue needs to triage, applied to new issues type: bug labels May 8, 2023
@amrbashir amrbashir linked a pull request May 9, 2023 that will close this issue
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform: macOS status: needs triage This issue needs to triage, applied to new issues type: bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants