rxhanson / Rectangle

Move and resize windows on macOS with keyboard shortcuts and snap areas
https://rectangleapp.com
Other
25.19k stars 748 forks source link

Dragging windows between screens makes them resize #1132

Open Syrephis opened 1 year ago

Syrephis commented 1 year ago

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.

rxhanson commented 1 year ago

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.

argumemnon commented 1 month ago

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

issue1132

rxhanson commented 1 month ago

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

argumemnon commented 3 weeks ago

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.

rxhanson commented 3 weeks ago

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.