Having some issues when I try to focus specific app by it's ID, it was hard to debug because I don't have any concrete steps to reproduce this behavior, and list of the apps affected differs too. Recently I cough one of such examples when my debug logs was open, here how it looked like:
Then I try to switch to it and next thing happens:
$ yabai -m window --focus 527
could not locate window with the specified id '527'.
$ yabai -m window --focus '527'
could not locate window with the specified id '527'.
or
could not locate the window to act on!
The app is the only visible app in space 5 (when I am at space 6 if that matters) on my second display. I didn't restart it, nor did I restart Yabai, and suddenly it's working again. Here is a query response for that window after it started to work again:
As you can see both role and subrole were messed up, but again, it was perfectly fine window that was working as usual, I did nothing to fix and it works. It's not about this specific app, it happens rarely and randomly with a list of apps.
Any ideas what's going on or how I can fix it? I also sometimes experience issues when my queries are taking much more time to respond, but I guess that's not related.
Would be great to hear your thoughts or propositions on how to further investigate it. Thanks!
Mac OS: 14.5 (23F79)yabai-v7.1.1
No scripting additions installed.
Having some issues when I try to focus specific app by it's ID, it was hard to debug because I don't have any concrete steps to reproduce this behavior, and list of the apps affected differs too. Recently I cough one of such examples when my debug logs was open, here how it looked like:
Then I try to switch to it and next thing happens:
or
The app is the only visible app in space 5 (when I am at space 6 if that matters) on my second display. I didn't restart it, nor did I restart Yabai, and suddenly it's working again. Here is a query response for that window after it started to work again:
As you can see both
role
andsubrole
were messed up, but again, it was perfectly fine window that was working as usual, I did nothing to fix and it works. It's not about this specific app, it happens rarely and randomly with a list of apps.Any ideas what's going on or how I can fix it? I also sometimes experience issues when my queries are taking much more time to respond, but I guess that's not related. Would be great to hear your thoughts or propositions on how to further investigate it. Thanks!
Mac OS: 14.5 (23F79)
yabai-v7.1.1
No scripting additions installed.