-
-
Notifications
You must be signed in to change notification settings - Fork 647
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
Kitty is not always tiled #179
Comments
@danteissaias Have you run |
This is the value of one of the non-tiled windows: {
"id":31133,
"pid":50498,
"app":"kitty",
"title":"htop /Users/dante",
"frame":{
"x":692.0000,
"y":287.0000,
"w":100.0000,
"h":100.0000
},
"level":0,
"role":"AXWindow",
"subrole":"AXStandardWindow",
"movable":1,
"resizable":1,
"display":1,
"space":1,
"visible":1,
"focused":0,
"split":"none",
"floating":1,
"sticky":0,
"border":1,
"shadow":0,
"zoom-parent":0,
"zoom-fullscreen":0,
"native-fullscreen":0
} For some reason it seems to be floating, but I don't know why. |
@danteissaias I'm not sure why that happens (maybe a config messed it up? or it's a bug?) but you can use the signal system to manually make the |
@pcr910303 This issue occurs with the example configuration, could this issue possible be a relative of #174, since maybe the Kitty windows are not always defloated? |
If its any help I discovered the trigger of this issue. If you open 4 Kitty windows tiled as so: If you then create another Kitty window, and close it using CMD+W, the next Kitty window that is opened will suffer from this issue. Until closing the suffering window, and the last window created before that: All Kitty window subsequently created will not be tiled. If you repeat these same steps, you can reproduce this issue on any application. I have tested this issue on Firefox Developer Edition and I can successfully reproduce it. |
Unable to reproduce using your steps. This may be a duplicate of #183 (?) which has been fixed on master. In any case, can you reproduce this issue on the latest stable version (v1.1.2)? |
It's not a duplicate of #183 as I am still able to produce this on master. |
I still can't reproduce this issue doing the exact steps shown in that video. |
So this is actually happening because there is a check for minimum window size upon creation, and if the window is smaller than the given dimensions, it will float instead: https://github.com/koekeishiya/yabai/blob/master/src/window.c#L263 I'm a bit reluctant to calling this a bug, but this is a sideeffect I had not considered.. |
I think this should be considered a bug. We should only float small windows that are NOT resizable. |
As you can see, Kitty is not always being tiled.
I have not been able to observe a pattern. If closing all the Kitty windows and then opening more, proper tiling resumes.
The text was updated successfully, but these errors were encountered: