-
-
Notifications
You must be signed in to change notification settings - Fork 643
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
All the floating windows are above the non-floating windows #2170
Comments
Isn't the point of floating windows that they float in front of everything else? Edit: Nevermind. To answer my own question. No, it's not, that would be
That said, I also have layering issues with v7.0.2, but of a different kind (Similar to #1929, created #2172 today) |
I'm having the exact same issue after updating MacOS to Sonoma, every floating window is sticky on top of any tiling window. |
FYI (regarding the other layering issue #2172 I mentioned): There was a breaking change in v 0.7.x, as documented in #2128 Solution: use This solves my issue:
With this setting, I also don't have the original issue described by the OP. |
|
For debugging it might be helpful to check out what properties the windows in question have, in particular that they're not yabai -m query --windows |
|
Output of Also note changes to window rules in v7.0.0:
For
|
Running
|
If I understand the documentation correctly (which koekeishiya graciously left above), having the rule And running Edit: Though come to think of it, I'm not entirely sure what happens to windows when you restart Similarly, I'm not 100% sure what happens when you restart the computer, because I suppose it depends on when Edit 2: Upon re-reading his comments, in particular this one:
This would mean that we'll need to apply the rules on every relaunch or launch, if any windows are open that would misbehave otherwise. Edit 3: Another thing. Someone suggested to add this:
I suppose this probably applies this rule to an applications windows whenever they become front, thus also fixing the issue. If I understand correctly, this might be a bit of overkill (though would work), and applying the rules to old windows just once would suffice. |
Sorry for the late reply. For those who are not familiar with yabai, I did
However just out of curiosity, shouldn't this front-app-gets-focus behavior be default without any additional config? |
The reasoning is that floating windows specifically should always be in front of tiled windows. This is very common with Linux window managers, and I also personally prefer that functionality. The motivation is that when floating windows are mixed alongside tiled windows in a managed space, the floating window usually has one of the following purposes: a) temporary window that the user needs to interact with before it can be closed/moved away/minimized Very rarely in my opinion does it make sense to allow this window to get hidden behind the grid of managed windows. Now I agree that this is opinionated, which is why it can be disabled fairly trivially in the user config. |
Got your point. Fair enough 👍 |
After updating yabai to the head after my mac update, all the floating windows are placed above the non-floating (tiled) windows even when I switch the focus to the tiled windows.
I would provide any other info (configs) if required.
The text was updated successfully, but these errors were encountered: