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

Window filter doesn't initially include some full-screen windows #1423

Open
iliyang opened this issue May 12, 2017 · 0 comments
Open

Window filter doesn't initially include some full-screen windows #1423

iliyang opened this issue May 12, 2017 · 0 comments

Comments

@iliyang
Copy link

iliyang commented May 12, 2017

While playing around with the window switcher, I noticed a weird issue with hs.window.filter. Specifically, it does not reliably include full-screen windows until those windows are activated manually by switching to their special space.

Say I've just reloaded my Hammerspoon config and I execute the following code:

filter = hs.window.filter.new():setDefaultFilter{}
windows = filter:getWindows(hs.window.filter.sortByFocusedLast)

The returned table windows sometimes does not include some fullscreen windows. Once I activate those windows, it starts including them. But immediately after reloading my Hammerspoon config it doesn't.

And the behavior is not very deterministic. If I have two apps that have fullscreen windows, sometimes only one app's fullscreen window is missing, sometimes both apps'.

Again, this issue of fullscreen windows being excluded only happens after a fresh Hammerspoon config reload. Granted, I'm normally not supposed to do that very often, but it's a bit annoying, because the window switcher is my most used Hammerspoon feature and I need it to be rock solid.

@iliyang iliyang changed the title Window filter doesn't initially include full-screen some windows Window filter doesn't initially include some full-screen windows May 12, 2017
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

1 participant