rxhanson / Rectangle

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

leftHalf/rightHalf not putting window in proper place #866

Closed childish-sambino closed 2 years ago

childish-sambino commented 2 years ago

Using the leftHalf and rightHalf shortcuts results in window being place in unexpected locations. Log and short video below. Only appeared after upgrading to macOS 12.5

macOS version: 12.5 Rectangle version: 0.57 Logs if applicable (In Rectangle menu, hold option, "View Logging..."):

2022-07-28T09:20:38-05:00: AX sizing proposed: (720.0, 875.0), result: (720.0, 875.0)
2022-07-28T09:20:38-05:00: AX position proposed: (-720.0, 1465.0), result: (-720.0, 1465.0)
2022-07-28T09:20:38-05:00: AX sizing proposed: (720.0, 875.0), result: (720.0, 875.0)
2022-07-28T09:20:38-05:00: rightHalf | display: (-1440.0, -900.0, 1440.0, 875.0), calculatedRect: (-720.0, 1465.0, 720.0, 875.0), resultRect: (-1440.0, 1465.0, 480.0, 875.0), srcScreen: Built-in Retina Display, destScreen: Built-in Retina Display, resultScreen: Built-in Retina Display
2022-07-28T09:20:39-05:00: AX sizing proposed: (720.0, 875.0), result: (1440.0, 291.0)
2022-07-28T09:20:39-05:00: AX position proposed: (-1440.0, 1465.0), result: (-1440.0, 1465.0)
2022-07-28T09:20:39-05:00: AX sizing proposed: (720.0, 875.0), result: (720.0, 875.0)
2022-07-28T09:20:39-05:00: leftHalf | display: (-1440.0, -900.0, 1440.0, 875.0), calculatedRect: (-1440.0, 1465.0, 720.0, 875.0), resultRect: (-1440.0, 1465.0, 720.0, 875.0), srcScreen: Built-in Retina Display, destScreen: Built-in Retina Display, resultScreen: Built-in Retina Display

https://user-images.githubusercontent.com/47228322/181540066-bd6a9ca5-e2df-4f2d-a1f3-9abb0f6c6152.mov

rxhanson commented 2 years ago

Thanks for reporting. I can't reproduce this. Are you sure you don't have any other window managers running?

childish-sambino commented 2 years ago

🤦 Upgrading the OS was the first time I've restarted my machine since migrating from Spectacle to Rectangle. Spectacle was set to launch at start-up and I just didn't see it running. Thanks for responding!