rxhanson / Rectangle

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

Half screen goes over 1 px #1229

Open MikeAlvarado opened 11 months ago

MikeAlvarado commented 11 months ago

macOS version: 13.4.1 (c) Rectangle version: 0.70 (76)

It seems that apps does not use half size correctly. It goes over by 1px on either part.

Logging:

2023-08-08T16:54:31-06:00: AX sizing proposed: (1720.0, 1330.0), result: (1720.0, 1329.0)
2023-08-08T16:54:31-06:00: AX position proposed: (0.0, 25.0), result: (0.0, 25.0)
2023-08-08T16:54:31-06:00: AX sizing proposed: (1720.0, 1330.0), result: (1720.0, 1329.0)
2023-08-08T16:54:31-06:00: leftHalf | display: (0.0, 85.0, 3440.0, 1330.0), calculatedRect: (0.0, 25.0, 1720.0, 1330.0), resultRect: (0.0, 25.0, 1720.0, 1329.0), srcScreen: ZQE-CBA, destScreen: ZQE-CBA, resultScreen: ZQE-CBA
2023-08-08T16:54:31-06:00: AX sizing proposed: (1720.0, 1330.0), result: (1720.0, 1329.0)
2023-08-08T16:54:31-06:00: AX position proposed: (1720.0, 25.0), result: (1720.0, 25.0)
2023-08-08T16:54:31-06:00: AX sizing proposed: (1720.0, 1330.0), result: (1720.0, 1329.0)
2023-08-08T16:54:31-06:00: rightHalf | display: (0.0, 85.0, 3440.0, 1330.0), calculatedRect: (1720.0, 25.0, 1720.0, 1330.0), resultRect: (1720.0, 25.0, 1720.0, 1329.0), srcScreen: ZQE-CBA, destScreen: ZQE-CBA, resultScreen: ZQE-CBA

Ecxpedted: SCR-20230808-oxlm

Current SCR-20230808-oxpx

MikeAlvarado commented 11 months ago

Hey @rxhanson, definitely willing to sponsor || donate for this! Not quite sure if this is one of the futures on Pro Version

rxhanson commented 11 months ago

Thanks for the feedback. Technically, this is not going over and is precisely half, but I agree that there is a higher aesthetic to the pixel gap. As a (probably undesirable) workaround, you could configure a gap in the settings tab.

I don't have the bandwidth to make this change at this time, but would merge a good pull request for it.

MikeAlvarado commented 11 months ago

I understand. Sadly it's been a while since I touched any swift / Mac apps so I guess I will wait at the moment.

Regardless I just purchased pro version and started sponsoring you. Should the time come it would be a much better experience for everyone at my office whom I recommended this app 👍

MikeAlvarado commented 11 months ago

As a fix (?) using rectangle pro: image