-
-
Notifications
You must be signed in to change notification settings - Fork 630
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
zathura not being managed, yabai 7.0.2 #2168
Comments
Note:
https://github.com/koekeishiya/yabai/blob/master/doc/yabai.asciidoc#query
|
Maybe #2118 but that is is just absolutely ridiculous from Zathura at that point and you should report a bug there.
Run |
Hi, koekeishiya. CPU: Apple M1 As shown in the log, zathura is detected by yabai but ignored... P.S. By downgrading, it works fine with v.6.0.15,
|
I have whitelisted zathura on master, but please report it in their bug-tracker. The issue is that zathura incorrectly identifies as a background-only process. |
Thank you for addressing this problem. |
|
The part which fails currently is information retrieved from
The specific field which yabai uses is
I know this function is marked as deprecated, but the ProcessInfoRec is very much alive in the WindowServer in modern macOS (including the latest release, Sonoma) and this flag is accurate for pretty much all software I personally have encountered. Even when launching software "backgrounded" (for example mpv) through a series of forks-exec, and as a background-job. I have whitelisted zathura for yabai and I understand if you have other priorities and don't want to deal with this garbage, especially if you don't use macOS yourself. Edit: Usually these settings are configured in the applications .plist file. If you distribute a single-binary instead of an application bundle, this plist information can be embedded into the binary during compilation/linkage. The preferences that seem relevant would be Edit: The reason for using this older API is that there is no actual modern replacement that captures the equivalent of this value for all processes (the modern solutions that I know of all rely on NSRunningApplication API which itself doesn't actually list/work for all processes we might be interested in). |
Ah, I wasn't aware that this is a tool for macOS. In |
Interesting. Once this function is gone, is there a replacement, or a workaround? |
I wouldn't worry until it is actually removed. The concept is still very alive and maintained in todays WindowServer, so even if the public functions are removed, the structure is still there in the WindowServer and there are ways to get access to that information without much trouble. |
Changed how this works. Explicit whitelisting should no longer be necessary. |
After upgrading to yabai 7.0.2, zathura is no longer being managed by yabai.
The output of
yabai -m query --windows
produces:with no role being given to the window. Restarting yabai, the computer, or zathura, does not seem to make any difference to whether zathura is managed.
The text was updated successfully, but these errors were encountered: