You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The default hs.window.filter will emit "windowFocused" events for different windows within the same application. Except if one of the windows has multiple tabs. Then, no "windowFocused" events will be emitted for any window within the application, even non-tabbed windows. Closing the window with tabs will restore the window filter behavior.
For example:
Subscribe to window events for the default filter:
I confirm this happens, but I think it seems that the behaviour is related to the creation of the new window if the previous one has tabs. Behaviour is ok if Finder has windows, then another one is created, and tab is added.
Try
hs.window.filter.setLogLevel('verbose')
and see what is going on. The source code for window_filter can be easily edited and reloaded. it is in Hammerspoon.app/Contents/Resources/extensions/hs/
The default hs.window.filter will emit "windowFocused" events for different windows within the same application. Except if one of the windows has multiple tabs. Then, no "windowFocused" events will be emitted for any window within the application, even non-tabbed windows. Closing the window with tabs will restore the window filter behavior.
For example:
Other window filter events, such as "windowResized", work with tabbed windows.
The text was updated successfully, but these errors were encountered: