Rectangle icon indicating copy to clipboard operation
Rectangle copied to clipboard

When moving the maximized window from small screen to large screen using shortcut, the window is no longer maximized

Open GuanHenan opened this issue 2 years ago • 7 comments

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

macOS version: Ventura 13.2 Rectangle version:0.65 Logs if applicable (In Rectangle menu, hold option, "View Logging..."): 2023-02-20T10:42:51+08:00: AX sizing proposed: (1440.0, 875.0), result: (1440.0, 875.0) 2023-02-20T10:42:51+08:00: AX position proposed: (0.0, 25.0), result: (0.0, 25.0) 2023-02-20T10:42:51+08:00: AX sizing proposed: (1440.0, 875.0), result: (1440.0, 875.0) 2023-02-20T10:42:51+08:00: nextDisplay | display: (0.0, 0.0, 1440.0, 875.0), calculatedRect: (0.0, 25.0, 1440.0, 875.0), resultRect: (0.0, 25.0, 1440.0, 875.0), srcScreen: U28H75x, destScreen: 内建视网膜显示器, resultScreen: 内建视网膜显示器 2023-02-20T10:42:55+08:00: AX sizing proposed: (2560.0, 1415.0), result: (1440.0, 875.0) 2023-02-20T10:42:55+08:00: AX position proposed: (-586.0, -1415.0), result: (-586.0, -1415.0) 2023-02-20T10:42:55+08:00: AX sizing proposed: (2560.0, 1415.0), result: (2026.0, 1415.0) 2023-02-20T10:42:55+08:00: previousDisplay | display: (-586.0, 900.0, 2560.0, 1415.0), calculatedRect: (-586.0, -1415.0, 2560.0, 1415.0), resultRect: (-586.0, -1415.0, 2026.0, 1415.0), srcScreen: 内建视网膜显示器, destScreen: U28H75x, resultScreen: U28H75x

GuanHenan avatar Feb 20 '23 02:02 GuanHenan

The screen proportions of the two monitors are different.

GuanHenan avatar Feb 20 '23 02:02 GuanHenan

Thanks for reporting. This was introduced by Ventura, and I think it only affects certain displays. I'm pretty certain that this is best fixed macOS side, but I'll see if I can build in a workaround.

rxhanson avatar Feb 20 '23 23:02 rxhanson

v0.67 fixed this problem on my mac.

ivaquero avatar Mar 10 '23 08:03 ivaquero

Is there actually a way to keep the window the same size? I remember when using Spectacle and Rectangle, both on older versions of MacOS before Ventura, I could move windows between monitors without the size changing, and I actually liked that when e.g. moving between my laptop monitor and ultrawide.

mpeng-okta avatar Apr 05 '23 23:04 mpeng-okta

@mpeng-okta here's the terminal command for it:

defaults write com.knollsoft.Rectangle autoMaximize -int 2

then restart the app

rxhanson avatar Apr 06 '23 00:04 rxhanson

Oh nice, thank you!

mpeng-okta avatar Apr 06 '23 23:04 mpeng-okta

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

macOS version: Ventura 13.2 Rectangle version:0.65 Logs if applicable (In Rectangle menu, hold option, "View Logging..."): 2023-02-20T10:42:51+08:00: AX sizing proposed: (1440.0, 875.0), result: (1440.0, 875.0) 2023-02-20T10:42:51+08:00: AX position proposed: (0.0, 25.0), result: (0.0, 25.0) 2023-02-20T10:42:51+08:00: AX sizing proposed: (1440.0, 875.0), result: (1440.0, 875.0) 2023-02-20T10:42:51+08:00: nextDisplay | display: (0.0, 0.0, 1440.0, 875.0), calculatedRect: (0.0, 25.0, 1440.0, 875.0), resultRect: (0.0, 25.0, 1440.0, 875.0), srcScreen: U28H75x, destScreen: 内建视网膜显示器, resultScreen: 内建视网膜显示器 2023-02-20T10:42:55+08:00: AX sizing proposed: (2560.0, 1415.0), result: (1440.0, 875.0) 2023-02-20T10:42:55+08:00: AX position proposed: (-586.0, -1415.0), result: (-586.0, -1415.0) 2023-02-20T10:42:55+08:00: AX sizing proposed: (2560.0, 1415.0), result: (2026.0, 1415.0) 2023-02-20T10:42:55+08:00: previousDisplay | display: (-586.0, 900.0, 2560.0, 1415.0), calculatedRect: (-586.0, -1415.0, 2560.0, 1415.0), resultRect: (-586.0, -1415.0, 2026.0, 1415.0), srcScreen: 内建视网膜显示器, destScreen: U28H75x, resultScreen: U28H75x

I'm also having this issue after upgrading to Ventura. It also appears not happen with all my external monitors (HP 4k: happens, Apple Thunderbolt Display: happens, LG 4k monitor: doesn't happen.)

k-funk avatar Jun 22 '23 10:06 k-funk