Rectangle icon indicating copy to clipboard operation
Rectangle copied to clipboard

Half screen goes over 1 px

Open MikeAlvarado opened this issue 2 years ago • 4 comments

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

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 avatar Aug 08 '23 22:08 MikeAlvarado

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

MikeAlvarado avatar Aug 08 '23 23:08 MikeAlvarado

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.

rxhanson avatar Aug 09 '23 01:08 rxhanson

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 avatar Aug 09 '23 01:08 MikeAlvarado

As a fix (?) using rectangle pro: image

MikeAlvarado avatar Aug 09 '23 02:08 MikeAlvarado