nikitabobko / AeroSpace

AeroSpace is an i3-like tiling window manager for macOS
https://nikitabobko.github.io/AeroSpace/guide
MIT License
7.55k stars 124 forks source link

Windows layout issues #733

Open hevzy86 opened 1 day ago

hevzy86 commented 1 day ago

Hello, i have 2 external monitors setup and sometimes i have this type of issues with layout, looks like it leaves some extra space for invisible tile. Could it be because i have some "floating windows"? Thank you

Screenshot 2024-11-20 at 8 02 38 PM Screenshot 2024-11-20 at 1 26 34 PM Screenshot 2024-11-20 at 12 48 56 PM
mrkskk commented 18 hours ago

It happens when mac interprents a tab as a window.

For example it happens with finder. disable that new finder windows open as tabs to solve it.

For me it still happens randomly, but ctrl-alt-cmd-semicolon = 'balance-sizes' usually solves it for me

hevzy86 commented 18 hours ago

Thank you very much, I'm gonna try it 👍

hevzy86 commented 12 hours ago

Hello, unfortunately it didn't help: i tried: ctrl-alt-cmd-semicolon = 'balance-sizes'

alt-shift-semicolon = 'mode service' r = ['flatten-workspace-tree', 'mode main']

but i found why it happens - when i close/quit an app it creates this issue, is there any resolution to avoid / fix it?

RollerMatic commented 10 hours ago

I think you should attach details about your OS (type, version) and aerospace version to this issue. I have a similar issue to yours, and balance-sizes doesn't do anything for me. I do have "Displays have seperate spaces" turned on though so not sure if that's impacting anything. aerospace details:

aerospace CLI client version: 0.15.2-Beta b6cf82771f245ab7349a93baf8709e171537ff58 AeroSpace.app server version: 0.15.2-Beta b6cf82771f245ab7349a93baf8709e171537ff58

Running on macos sequoia 15.1.1 config: aerospace.txt

The cli does have a debug-windows functionality which i am playing around with but it's not clear to me (yet) how I am supposed to use this information. What would be useful is for aerospace to provide a -v flag (or similar) to enable debug logging about what the subcmd is doing. This will also ensure that as users we can debug if the keystroke is being delivered to aerospace or not

hevzy86 commented 10 hours ago

"Displays have seperate spaces" turned on

macos sequoia 15.1

aerospace CLI client version: 0.15.2-Beta b6cf82771f245ab7349a93baf8709e171537ff58 AeroSpace.app server version: 0.15.2-Beta b6cf82771f245ab7349a93baf8709e171537ff58

New_aerospace.txt

hevzy86 commented 9 hours ago

by the way when i'm trying to navigate on windows i see how cursor moves on empty space, like there are several windows which i don't see, any ideas?

hevzy86 commented 3 hours ago

I figured out what's the issue, it happens when i'm closing an app with keyboard or red cross button- it creates this gap, then i should go to dock and quit it form there - then this gap disappear is there any aerospace keyboard shortcut i could assign to perform it? I mean just to close this particular instance or window of app - because i usually have open several arc browser or cursor ai windows and i need just to close one of them not the entire app?