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

MacOS: Application always opens on initial desktop screen #1

Open
rylax opened this issue Feb 6, 2023 · 2 comments
Open

MacOS: Application always opens on initial desktop screen #1

rylax opened this issue Feb 6, 2023 · 2 comments

Comments

@rylax
Copy link

rylax commented Feb 6, 2023

First of all, thanks a lot for the repo and article. Was very helpful figuring things out especially as a Rust newbie.

I have just applied everything and noticed that the menubar app seems to always switch back to the desktop it was originally opened in:

  1. Open app from clicking the system tray icon
  2. Navigating to a different desktop
  3. Clicking the system tray icon
  4. Mac navigates back to the first desktop where the app was initially launched

This seems like an unwanted behaviour as an menubar app should be able to be opened on any desktop it was clicked on. Was wondering if anyone knows a fix for this.

@4gray
Copy link
Owner

4gray commented Feb 10, 2023

Thanks for the feedback!
What version of macOs are you using?
Just checked on macOs Ventura 13.0 works as expected. But I have encountered a similar problem, just can't remember if it was in Electron or Tauri :-)

@rylax
Copy link
Author

rylax commented Feb 10, 2023

Running currently on:

macOS Monterey Version 12.6
Apple M1 Pro (16-inch, 2021)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants