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] A space tracking error after quitting a full-screen application #528

Open
Fau818 opened this issue Apr 2, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@Fau818
Copy link

Fau818 commented Apr 2, 2024

I play Hearthstone (a game) on my Mac, it opens in full screen by default (occupying a new space). After I quit it, it causes incorrect space tracking.

For example, I only have space 1 right now, and when I open the game, the game will take up space 2. Then, I exit the game, and there should be only space 1 and it is selected.

But the fact is, if I trigger the space script at space 1, and print $NAME and $SELECTED in the script, it will output space.2 true.

This is incorrect, it should output space.1 true.
And at this time, it seems like Sketchybar doesn't know I have space 1?

And if I trigger space_change event manually, the script will output space.1 true and space.2 true.

This is also incorrect, the space 2 should have been destroyed.
After I trigger space_change event, the space script will be applied to both space 1 and space 2 (The space 1 can be detected by Sketchybar).


The expected behavior is that Sketchybar can correctly track space after quitting full-screen applications.

@FelixKratz FelixKratz added the bug Something isn't working label Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants