You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Constrained-width apps don't move flush to the sides of the screen #185
First off, thanks for Rectangle! I had Divvy for years but it never "clicked" with me, and Rectangle totally hasn't had that problem, I use it all the time.
Was a tough call as to whether this was a bug report or a feature request :-)
I noticed an unexpected behavior with apps that have a maximum width. When I take, say, Tweetbot (max width of 628px, apparently) and tell Rectangle to put it in the right half of the screen (720px wide), it obviously can't -- but what it does is anchors the window at the halfway point of the screen:
What I'd expect it to do is put the window flush with the right side of the screen at its max width:
Looking at the logs (below), I guess that would mean that Rectangle would have to note the difference between the proposed and result sizing and offset the position by the difference. I suspect the same problem happens for max-height apps aligned to the bottom of the screen.
Not sure if this is feasible or not but I figured I'd ask!
Thanks for reporting. Totally valid to label this as a bug.
There's not a way to know up front what a resizable window's maximum dimensions are, and that's why this issue exists. However, it would make sense to me to auto-adjust the window after a move/resize when this scenario occurs. For windows that are non-resizable, Rectangle will center the window in the projected area. On one hand, it would be a little odd to have different behavior in this resizable scenario compared to non-resizable, but I think I prefer making it flush with the side of the screen for windows that have resized to max height.
Reacted by Alex Hofmann, insipidlight and Gustavo Velásquez
Hello, apologies for resurrecting the very old issue!
I am also experiencing this issue, and am wondering if there's been any update on it in the years since?
I have noticed that Rectangle appears to anchor fixed-width windows to the left edge of right-hand desktop positions - e.g. moving the Settings panel to 'Right Half' positions the window's left edge at the desktop's vertical centre. I suspect most regular users would instead expect such windows to be anchored to the right side of the screen. This would seem to be achievable, as it's possible in e.g. both native macOS snapping and Keyboard Maestro's window position options (albeit that comes with its own issues...).
Also, as the left-anchoring behaviour doesn't occur with adjustable width windows, I'm wondering if this is maybe a second/adjacent bug, or part of the same original issue?
@labodeguitadelmedio I did experiment with Rectangle making a follow-on adjustment to move the window again after it has been determined to have a constrained width, and it was quite annoying to me. As far as I know, there is still no way to know up front.
Activity
rxhanson commentedon Jul 2, 2020
Thanks for reporting. Totally valid to label this as a bug.
There's not a way to know up front what a resizable window's maximum dimensions are, and that's why this issue exists. However, it would make sense to me to auto-adjust the window after a move/resize when this scenario occurs. For windows that are non-resizable, Rectangle will center the window in the projected area. On one hand, it would be a little odd to have different behavior in this resizable scenario compared to non-resizable, but I think I prefer making it flush with the side of the screen for windows that have resized to max height.
labodeguitadelmedio commentedon Sep 25, 2025
macOS: 15.7
Rectangle version: 0.90 (96)
Hello, apologies for resurrecting the very old issue!
I am also experiencing this issue, and am wondering if there's been any update on it in the years since?
I have noticed that Rectangle appears to anchor fixed-width windows to the left edge of right-hand desktop positions - e.g. moving the Settings panel to 'Right Half' positions the window's left edge at the desktop's vertical centre. I suspect most regular users would instead expect such windows to be anchored to the right side of the screen. This would seem to be achievable, as it's possible in e.g. both native macOS snapping and Keyboard Maestro's window position options (albeit that comes with its own issues...).
Also, as the left-anchoring behaviour doesn't occur with adjustable width windows, I'm wondering if this is maybe a second/adjacent bug, or part of the same original issue?
Thanks for making a great app! :)
rxhanson commentedon Sep 27, 2025
@labodeguitadelmedio I did experiment with Rectangle making a follow-on adjustment to move the window again after it has been determined to have a constrained width, and it was quite annoying to me. As far as I know, there is still no way to know up front.