-
-
Notifications
You must be signed in to change notification settings - Fork 663
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
Yabai lose control of window if I close the window and reopen it #2552
Comments
Try to upgrade to v7.1.10 |
Just tried. But still the same result. |
If you think you've updated through brew, check yabai -v. |
Ah ok, didn't for me yesterday |
Sorry for mentioning again. Just want to make sure I understand it: is 7.1.10 expected to solve this problem when it was released? For me it's just 'I'm using 7.1.10 now but the problem persists.' |
More test: When slack is started, I get the following information.
When I close and reopen the window, I found the following:
Note: the 'is-native-fullscreen' is always false after reopening, even if I manually put it into native full screen. It seems some apps are using different mechanism to 'close' the window in a way that Yabai does not regard this window as closed, but something else. I should emphasize that this issue only appears in some apps. |
All programs that I use are working as expected. So I believe you should ask Slack to address this issue. Maybe I am wrong, but it seems that Slack does not distribute system-wide messages of the window roles/states when creating a window while already running. Åsmund will correct me, if I am wrong. Take a look at this issue, looks familiar |
Yeah I redo some tests for many apps. I found that this happens only on a few apps, like slack, telegram, and some music apps. But for most apps this issue does not happen. So maybe these apps are using some different window destroy mechanisms and breaks how yabai works. |
I'm not sure whether it's a bug or I'm using it in a wrong way. I found Yabai lose control of the app window if I close and reopen it. Close means just close the window but does not quit the app.
For example, if I have a app window, say, slack, opening.
I can use all the yabai commands to deal with it. I can toggle fullscreen, toggle float, and so forth.
Then I close slack window (but do not quit the app) and reopen it. Then yabai completely lose control of it. I cannot toggle float, toggle fullscreen, or do anything.
I run
yabai -m query window
to see the difference.I found the
can move
,can resize
becomes false after I reopen the window.Why?
System: MacOS 15.2.
Yabai version: 7.1.8.
Output of
csrutil status
:My config:
The text was updated successfully, but these errors were encountered: