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] [v1] Window cannot join other spaces and cannot be drawn over fullscreen apps in "tauri build" mode #9556

Open
romazu opened this issue Apr 24, 2024 · 0 comments
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

  • In tauri dev mode:
    • Window can be drawn on another workspace, i.e. window.show() rerenders the window on the currently active space. This is the expected behavior.
  • In tauri build mode:
    • Window is always drawn on the original workspace and cannot be moved to another space. That's the problem.

Window option alwaysOnTop is set to true.

Reproduction

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

Expected behavior

An alwaysOnTop 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]: 1.6.2
    - tauri-build [RUST]: 1.5.1
    - wry [RUST]: 0.24.8
    - tao [RUST]: 0.16.9
    - @tauri-apps/api [NPM]: 1.5.4
    - @tauri-apps/cli [NPM]: 1.5.11

[-] App
    - build-type: bundle
    - CSP: unset
    - distDir: ../src
    - devPath: ../src
✨  Done in 7.16s.

Stack trace

No response

Additional context

No response

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

1 participant