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

fix: improve window "spotlight"-ness #48

Open
cablehead opened this issue Feb 15, 2024 · 1 comment
Open

fix: improve window "spotlight"-ness #48

cablehead opened this issue Feb 15, 2024 · 1 comment
Labels
help wanted Extra attention is needed known issue

Comments

@cablehead
Copy link
Owner

cablehead commented Feb 15, 2024

Stacks' makes a bunch of platform calls to configure its window as a spotlight-like window: https://github.com/cablehead/stacks/blob/main/src-tauri/src/spotlight.rs -- it'd be nicer if this was in native Swift.

https://github.com/Brendonovich/swift-rs

h/t @arn4v for the link.

The main window doesn't quite behave as well as the native macOS spotlight. As an example, when the last window in a macOS space closes, macOS will focus the previous space. If Stacks' is the only window in a space, this results in the current space annoyingly losing focus as you activate and deactivate Stacks. Hopefully there's a macOS API to say: "don't count this window towards the count of windows in a space.

Potentially helpful:

https://github.com/ahkohd/tauri-nspanel

@slidingshade
Copy link

Also stacks window don't pop up if your current app in full-screen mode..

@cablehead cablehead added the help wanted Extra attention is needed label Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed known issue
Projects
None yet
Development

No branches or pull requests

2 participants