Top/bottom gap ignored when moving window from a taller screen to a shorter one
I see there are several gap-related open issues. I read through them and didn't see this specific problem mentioned, but I apologize if this is already covered somewhere else.
Scenario
I have a gap set between windows with "Apply window gaps to screen edges" selected.
I have two displays and one is taller than the other.
Expected behavior
On the tall display, I have a window that's taller than the short display. When I move that window to the short display, there should be a gap on the top and bottom of the window. If not when I move it, then at least after I snap it to a position (e.g. right half).
Actual behavior
When I move the window to the small display, it shrinks to fit the height of the display but does not leave a gap on the top and bottom. If I snap it to a position like right half, there is a gap on the left or right, but still not the top and bottom.
Only when I make the window shorter than the display does it start adding a gap on the top and bottom. For example, if I manually shorten the window or use a shortcut for something shorter than the window (e.g. top right corner), then it starts adding a gap on the top/bottom.
https://www.loom.com/share/37f90dbb1c8347bc91e0ac2b579df889?sid=7f6733b4-ade0-41b4-beb9-301ec690aea8
Side note
If I manually resize a window so it goes all the way to the edges of the display (no gap), then snap it to a position (e.g. right half), it will have a gap on the side but not the top or bottom.
Sorry for the delay on this, I'm working on the next release and will see what I can do.