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 dev window incorrectly launching within full-screen editors #4310

Open
stephenlrandall opened this issue Jun 9, 2022 · 2 comments · May be fixed by tauri-apps/tao#445
Open

[bug] macOS dev window incorrectly launching within full-screen editors #4310

stephenlrandall opened this issue Jun 9, 2022 · 2 comments · May be fixed by tauri-apps/tao#445

Comments

@stephenlrandall
Copy link

Describe the bug

On macOS, running tauri dev from a full-screen editor will cause the launched window to appear within that full-screen editor:

Screen Shot 2022-06-09 at 12 43 13 PM

This breaks the macOS window model and doesn't allow the launched application to be moved. The dev application and the full-screen window are stuck together in Mission Control:

Screen Shot 2022-06-09 at 12 43 32 PM

Reproduction

On macOS, open an editor with an integrated terminal like VS Code and run tauri dev. The launched application will be on top of the editor, unable to be moved.

Expected behavior

I would expect a new application to go to an open desktop like any other launched macOS application does (and even like the tauri build disk image window).

Platform and versions

Environment
  › OS: Mac OS 12.4.0 X64
  › Node.js: 18.2.0
  › npm: 8.9.0
  › pnpm: Not installed!
  › yarn: Not installed!
  › rustup: 1.24.3
  › rustc: 1.60.0
  › cargo: 1.60.0
  › Rust toolchain: stable-x86_64-apple-darwin 

Packages
  › @tauri-apps/cli [NPM]: 1.0.0-rc.13
  › @tauri-apps/api [NPM]: 1.0.0-rc.6
  › tauri [RUST]: 1.0.0-rc.8,
  › tauri-build [RUST]: 1.0.0-rc.7,
  › tao [RUST]: 0.8.4,
  › wry [RUST]: 0.15.1,

App
  › build-type: bundle
  › CSP: unset
  › distDir: ../build
  › devPath: http://localhost:3000/
  › framework: Svelte

App directory structure
  ├─ tauri
  ├─ node_modules
  ├─ static
  ├─ .svelte-kit
  ├─ build
  ├─ .git
  └─ src

Stack trace

No response

Additional context

No response

@islandryu
Copy link

This may be due to the tao repository.
The window is to be activated after it is opened.
I will work on this.

@bicarlsen
Copy link

bicarlsen commented Jan 13, 2024

This also disables the ability to open the devtools, some hover actions (e.g. showing tooltips), and system interactions (e.g. opening a file chooser).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 📬Proposal
Development

Successfully merging a pull request may close this issue.

3 participants