App steals focus and auto-switch workspace
ognistik opened this issue · comments
I have this issue with several apps, not one in particular. Where this is the most obvious and easy to replicate is with Arc. If I am playing a YT video and try to go to a different workspace, the PiP window will pop for a second and then pull me back to the workspace which has Arc.
Several other apps randomly don't let me switch workspace and "pull me back" to their own workspace. I am not sure, but seems to be mostly video players, or video editing apps, and it may have to do with the video of an app still playing when I switch spaces. Once I yabai --stop-service
this issue disappears.
BTW, my yabairc has both mouse_follows_focus
and focus_follows_mouse
off. I do have the scripting addition and SiP partially disabled. Everything seems to be running without issues with the one exception being this focus annoying problem.
I thought I'd try to debug this by running the service as yabai --verbose
in terminal and to my surprise the issue is totally gone there. Arc PiP doesn't steal the focus and it's the same with any other app.
What could be going on here? Everything runs perfectly in --verbose
but as soon as I go back to yabai --start-service
the problem comes back.