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] [macos] [v2] Window cannot join other spaces and cannot be drawn over fullscreen apps in both "tauri dev" and "tauri build" modes #9557

Open
romazu opened this issue Apr 24, 2024 · 1 comment
Labels
status: needs triage This issue needs to triage, applied to new issues type: bug

Comments

@romazu
Copy link

romazu commented Apr 24, 2024

Describe the bug

  • Both tauri dev and tauri build modes:
    • The window is always drawn on the original workspace and cannot be moved to another one.

Window options alwaysOnTop and visibleOnAllWorkspaces are set to true.
Capability window:allow-set-visible-on-all-workspaces is set.

Also see possibly related bug in tauri v1. There the problem arises only in tauri build mode.

Reproduction

Reproducer repo:
https://github.com/romazu/tauri-macos-draw-window-over-fullscreen/tree/tauri_v2

Expected behavior

An alwaysOnTop, visibleOnAllWorkspaces window can be drawn over other fullscreen apps in other workspaces on macOS in both the tauri dev and tauri build modes.

Full tauri info output

yarn run v1.22.21
$ tauri info

[✔] Environment
    - OS: Mac OS 14.4.1 X64
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.77.2 (25ef9e3d8 2024-04-09)
    ✔ cargo: 1.77.2 (e52e36006 2024-03-26)
    ✔ rustup: 1.27.0 (bbb9276d2 2024-03-08)
    ✔ Rust toolchain: stable-aarch64-apple-darwin (default)
    - node: 21.7.1
    - pnpm: 8.15.1
    - yarn: 1.22.21
    - npm: 10.5.0

[-] Packages
    - tauri [RUST]: 2.0.0-beta.16
    - tauri-build [RUST]: 2.0.0-beta.13
    - wry [RUST]: 0.39.2
    - tao [RUST]: 0.27.1
    - @tauri-apps/api [NPM]: 2.0.0-beta.9
    - @tauri-apps/cli [NPM]: 2.0.0-beta.13

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../src
✨  Done in 4.67s.

Stack trace

No response

Additional context

No response

@romazu romazu added status: needs triage This issue needs to triage, applied to new issues type: bug labels Apr 24, 2024
@pewsheen
Copy link
Contributor

Seems duplicated to #9439

Can you try if this works? tauri-apps/tao#189 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs triage This issue needs to triage, applied to new issues type: bug
Projects
None yet
Development

No branches or pull requests

2 participants