-
-
Notifications
You must be signed in to change notification settings - Fork 63
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
move-window-to-monitor does not maintain window height #306
Comments
What window is it, and what are the monitor resolutions? It could be that the window is from a GTK 4 app, which restricts window size to monitor bounds, and you're moving to a smaller monitor, so the height ends up more than the bounds and gets clamped. |
It occurs with every window I've tried it with. Thus far I've tried: my terminal (foot), an Xwayland window, Firefox, and Vesktop. I have 2 monitors with the same resolution and dpi, when i switch between these monitors this bug also occurs. I also have a smaller drawing tablet, on this monitor the bug occurs as well. |
Ah, wait, you're using the window commands. I think they might indeed not be preserving the height. Do the move-column- commands work fine? |
Ah yes! Those do maintain the height. Thanks! |
IIRC the reason I made the window commands reset the height is that they are similar to expel, as in when you have two windows in a column and use one of those commands, you extract the window out of the column, which should let it take up the full height. However, it would make sense to make it so that the height is preserved if the window was already by itself. |
steps to reproduce:
move-window-to-monitor-up
,move-window-to-monitor-down
,move-window-to-monitor-left
, andmove-window-to-monitor-right
all cause this issue)Expected result: Window maintains height
Actual result: Window height gets set to maximized size
System Information
The text was updated successfully, but these errors were encountered: