Rectangle icon indicating copy to clipboard operation
Rectangle copied to clipboard

Dragging windows between screens makes them resize

Open Syrephis opened this issue 2 years ago • 5 comments

  • [x] This is a new bug that hasn't been documented in a closed issue or in the Readme.

macOS version: 13.3.1 (22E261) Rectangle version: v0.67 (73)

Issue

When a window gets resized with a mouse, moved to another screen, resized using rectangle shortcuts and moved back to the first screen, the window gets resized back to the original size. I think it only started happening with the newest macOS version.

Steps to reproduce

  1. Have 2 screens.
  2. The "Restore window size when unsnapped" option is unchecked.
  3. Resize a window using the mouse on screen A.
  4. Move the window to screen B.
  5. Resize the window using Rectangle shortcuts (left half, right half, almost maximize, ...).
  6. Move the windows back to screen A.
  7. The window gets resized back to the size set in Step 3.

Expected behaviour

I expect the window size to be consistent across screens. The size stays the same when using Rectangle shortcuts for moving windows to another screen.

Syrephis avatar Apr 09 '23 23:04 Syrephis

Thanks for reporting. Since nothing has changed Rectangle side for this, my guess is that this is Ventura behavior? I will test things out to confirm, but if that's the case then it's likely that this is something that Rectangle won't be able to properly adjust.

rxhanson avatar Apr 10 '23 01:04 rxhanson

I came to report this issue too, as described. Here is a video of the issue.

issue1132

argumemnon avatar Jun 13 '24 20:06 argumemnon

As a quick sanity check, does this happen when Rectangle is not running?

rxhanson avatar Jun 14 '24 02:06 rxhanson

So, if you resize the window using Rectangle shortcuts, quit Rectangle, and move the window back and forth, yes, it still resizes itself on the other monitor, until you manually resize the window itself.

argumemnon avatar Jun 22 '24 22:06 argumemnon

Thanks for the follow up. Unfortunately, this is outside of Rectangle (even if it is exposed by Rectangle) and I don't have plans to build a workaround in the app at this time. If the problem is more widespread and anyone is interested in creating a good workaround, then I would consider a good pull request.

rxhanson avatar Jun 23 '24 21:06 rxhanson