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

App ignores safe space for Stage Manager and work inconsistently #1115

Open ostojan opened 1 year ago

ostojan commented 1 year ago

It's kind of same problem as #1087. Even after fix maximizing window doesn't always work properly. Moreover I noticed it works inconsistently. Maximizing same window a few times in a row can produce different results.

One time it maximize to cover recent apps of Stage Manager, another it works fine and use offset from app settings to apply. It happens on external monitor as well as on built in screen.

One time I noticed it to work at least consistently (however not with applied preferences) is when app is the only one app opened on desktop. In such case it is always maximized without savings space for Stage Manager.

My Mac configuration: 222487715-6eddf30b-11f5-4047-92b1-8069b93bd1c6

Preferences file: com.knollsoft.Rectangle.plist.zip

macOS version: Ventura 13.2.1 (22D68) Rectangle version: v0.67 (73) Logs if applicable (In Rectangle menu, hold option, "View Logging..."):

2023-03-15T13:26:58+01:00: AX sizing proposed: (2560.0, 1415.0), result: (2390.0, 1415.0)
2023-03-15T13:26:58+01:00: AX position proposed: (0.0, 25.0), result: (0.0, 25.0)
2023-03-15T13:26:58+01:00: AX sizing proposed: (2560.0, 1415.0), result: (2560.0, 1415.0)
2023-03-15T13:26:58+01:00: maximize | display: (0.0, 0.0, 2560.0, 1415.0), calculatedRect: (0.0, 25.0, 2560.0, 1415.0), resultRect: (-0.0, 25.0, 2560.0, 1415.0), srcScreen: PL2792QN, destScreen: PL2792QN, resultScreen: PL2792QN
2023-03-15T13:27:20+01:00: AX sizing proposed: (2389.8795013427734, 1415.0), result: (2390.0, 1415.0)
2023-03-15T13:27:20+01:00: AX position proposed: (170.12049865722656, 25.0), result: (170.0, 25.0)
2023-03-15T13:27:20+01:00: AX sizing proposed: (2389.8795013427734, 1415.0), result: (2390.0, 1415.0)
2023-03-15T13:27:20+01:00: AX sizing proposed: (2390.0, 1415.0), result: (2390.0, 1415.0)
2023-03-15T13:27:20+01:00: AX position proposed: (170.12049865722656, 25.0), result: (170.0, 25.0)
2023-03-15T13:27:20+01:00: AX sizing proposed: (2390.0, 1415.0), result: (2390.0, 1415.0)
2023-03-15T13:27:20+01:00: maximize | display: (170.12049865722656, 0.0, 2389.8795013427734, 1415.0), calculatedRect: (170.12049865722656, 25.0, 2389.8795013427734, 1415.0), resultRect: (170.0, 25.0, 2390.0, 1415.0), srcScreen: PL2792QN, destScreen: PL2792QN, resultScreen: PL2792QN

Log after maximizing using keyboard shortcut twice in a row. First one maximized window with no regards of Stage Manager, second worked as expected and left some space to show recent apps in Stage Manager.

Emahhh commented 1 year ago

I have the same issue.

QihangYao commented 1 year ago

I have the same issue.

yusoofsh commented 11 months ago

Versions >0.64 has this issue