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

Kando doesn't always open on the current desktop on MacOS #405

Closed
SeseMueller opened this issue Apr 30, 2024 · 5 comments · Fixed by #443
Closed

Kando doesn't always open on the current desktop on MacOS #405

SeseMueller opened this issue Apr 30, 2024 · 5 comments · Fixed by #443
Labels
bug Something isn't working contributions welcome Extra attention is needed good first issue Good for newcomers macOS

Comments

@SeseMueller
Copy link

Kando works well on MacOS, but there is a particular sharp edge when using it with multiple desktops.

To clarify, MacOS supports multiple desktops per screen and they can switched between with Control+Left and Control+Right and managed in "Mission Control" mode.

When launching Kando, it always opens on a specific desktop instead of the currently selected one. It does however launch on the correct screen (the one that is currently focussed), so every screen seems to have one "designated desktop" to launch Kando in.

A fix would require Kando to always use the focussed desktop.

@Schneegans Schneegans added bug Something isn't working macOS labels Apr 30, 2024
@Schneegans
Copy link
Contributor

Schneegans commented Apr 30, 2024

Thanks for the report, I'll look into it! In the mean time, I'll also happily accept any pull request which fixes this 😉

@Schneegans Schneegans added contributions welcome Extra attention is needed good first issue Good for newcomers labels May 6, 2024
@Schneegans
Copy link
Contributor

I tested this on macOS 11 and did not experience any issues. Nevertheless, I pushed a small change to the fix/405 branch which explicitly tells the window to be visible on all workspaces. Could you try this?

If you need instructions on how to run Kando from git, please let me know!

@SeseMueller
Copy link
Author

Thank you, I got it running. The fixed version works perfectly for me on a single screen. I'll test it shortly on multiple screens, but am positive that it should just work.

Thanks for the fix, I'll report back shortly!

@SeseMueller
Copy link
Author

SeseMueller commented Jun 3, 2024

Alright, I tested it now with a two monitor setup and it works flawlessly. As expected, the menu always pops up under the cursor, no matter which screen or dektop you are on or what app you have focussed.

Edit: I would like to add that I have found a bug where, if you close a fullscreen application that also has a non-fullscreen window open (i.e. a web browser), kando gets "stuck" on that non-fullscreen window until you open kando on a different screen.

Example: open two firefox windows; make one fullscreen; close it; move to neighbour desktop (control+right/left); open kando => it jumps back to the open firefox window.

@Schneegans
Copy link
Contributor

Edit: I would like to add that I have found a bug where, if you close a fullscreen application that also has a non-fullscreen window open (i.e. a web browser), kando gets "stuck" on that non-fullscreen window until you open kando on a different screen.

Example: open two firefox windows; make one fullscreen; close it; move to neighbour desktop (control+right/left); open kando => it jumps back to the open firefox window.

Could you create a new issue for that? Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working contributions welcome Extra attention is needed good first issue Good for newcomers macOS
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants