nikitabobko / AeroSpace

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

Window edge sometimes getting cut off after turning off "Displays have separate spaces" #335

Open Solomonz opened 3 months ago

Solomonz commented 3 months ago

To mitigate the issue I was having in #333, I turned off this setting. That issue has fully gone away, and the mild performance issues I'd been experiencing across Aerospace before also seem to have been resolved from it, which is awesome! However, after using Aerospace with this setting off for a bit, I've noticed a new issue which I don't think I ever experienced before turning it off. I am now often seeing windows in the accordion layout (my most common layout) getting slightly cut off at their bottom or right edge (depending on layout orientation).

Here is a recording of me playing around with a workspace with just two windows, switching between vertical and horizontal orientation and switching between the two windows in each orientation:

https://github.com/user-attachments/assets/5fba2ab3-9c0e-442d-97f8-8b5f3920b223

In the recording, you can see that my workspace is laid out in horizontal accordion at first. The right edge of the rightmost window is cut off! When I switch to vertical accordion, the effect is harder to see (I'm actually not sure that it's consistently happening right now, but it definitely was a little earlier). You can also see that in horizontal accordion layout, the rightmost window for some reason has a vertical padding in addition to its expected horizontal one. Maybe related?

Here is my monitor layout, if it helps:

image

I am seeing this behavior on my middle monitor, which is my primary monitor. I cannot reproduce this with multiple windows on my laptop monitor, which is the smaller one on the bottom right. But I can also reproduce it in the same way on my left monitor. It seems like it has something to do with aerospace detecting that there is more screenspace to the right, or something like that?

nikitabobko commented 3 months ago

Can you please try this custom build? AeroSpace-v0.0.0-SNAPSHOT.zip

I've built it from the following commit: https://github.com/nikitabobko/AeroSpace/commit/7800503e7d50656f4131d85c127c8a6af1144493 so you can build it yourself from sources if you want to