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
Mac: Mac Mini
macOS: Ventura 13.4.1
Hammerspoon: 0.9.100 (6815)
It looks like hs.window.filter doesn't recognize Firefox when it is initially opened. However if you focus another window and then focus Firefox, then a hs.window.filter.windowCreated event will get triggered.
Here's a video using the code above. Everything is super slow because this is an old Mac Mini running through a VNC connection 😄 . Clicks are represented by the big red circles.
No.event.for.Firefox.mp4
Similar behavior occurs for LibreOffice. Interestingly, calling hs.window.allWindows() is another way to trigger recognizing Firefox and LibreOffice.
Edit: I just realized that this also occurs for other apps, like System Settings. Presumably there are others.
The text was updated successfully, but these errors were encountered:
glenreesor
changed the title
Window Filter doesn't recognize Firefox immediately
Window Filter doesn't recognize Firefox until focused
Jul 3, 2023
Mac: Mac Mini
macOS: Ventura 13.4.1
Hammerspoon: 0.9.100 (6815)
It looks like
hs.window.filter
doesn't recognize Firefox when it is initially opened. However if you focus another window and then focus Firefox, then ahs.window.filter.windowCreated
event will get triggered.Here's some code to demonstrate:
init.txt
Here's a video using the code above. Everything is super slow because this is an old Mac Mini running through a VNC connection 😄 . Clicks are represented by the big red circles.
No.event.for.Firefox.mp4
Similar behavior occurs for LibreOffice. Interestingly, calling
hs.window.allWindows()
is another way to trigger recognizing Firefox and LibreOffice.Edit: I just realized that this also occurs for other apps, like System Settings. Presumably there are others.
The text was updated successfully, but these errors were encountered: