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

Does not work for new M1 mac #827

Closed jaanli closed 2 years ago

jaanli commented 2 years ago

On a new Mac on latest OS, when the menu bar is hidden and I press ctrl + alt + enter to full screen something, there is a piece missing:

image

Any ideas on how to debug?

macOS version: 12.4 Rectangle version: v0.56 (62) Logs if applicable (In Rectangle menu, hold option, "View Logging..."):

2022-06-07T07:43:55-04:00: AX sizing proposed: (1728.0, 542.0), result: (1728.0, 542.0)
2022-06-07T07:43:55-04:00: AX position proposed: (0.0, 32.0), result: (-0.0, 32.0)
2022-06-07T07:43:55-04:00: AX sizing proposed: (1728.0, 542.0), result: (1728.0, 542.0)
2022-06-07T07:43:55-04:00: topHalf | display: (0.0, 0.0, 1728.0, 1085.0), calculatedRect: (0.0, 32.0, 1728.0, 542.0), resultRect: (-0.0, 32.0, 1728.0, 542.0), srcScreen: Built-in Retina Display, destScreen: Built-in Retina Display, resultScreen: Built-in Retina Display
2022-06-07T07:43:57-04:00: AX sizing proposed: (1728.0, 1085.0), result: (1728.0, 1085.0)
2022-06-07T07:43:57-04:00: AX position proposed: (0.0, 32.0), result: (-0.0, 32.0)
2022-06-07T07:43:57-04:00: AX sizing proposed: (1728.0, 1085.0), result: (1728.0, 1085.0)
2022-06-07T07:43:57-04:00: maximize | display: (0.0, 0.0, 1728.0, 1085.0), calculatedRect: (0.0, 32.0, 1728.0, 1085.0), resultRect: (-0.0, 32.0, 1728.0, 1085.0), srcScreen: Built-in Retina Display, destScreen: Built-in Retina Display, resultScreen: Built-in Retina Display
2022-06-07T07:43:58-04:00: Current frame is equal to new frame
2022-06-07T07:43:58-04:00: Current frame is equal to new frame
rxhanson commented 2 years ago

Thanks for reporting. I can't reproduce it, and it unfortunately boils down to an issue macOS side regardless. Rectangle relies on macOS to tell it what the usable part of the screen is, and in your case it's not correct. This looks like it could have something to do with how it handles MBP with a notch (even though you obviously don't have a notch there).

steffex commented 2 years ago

I don't think it's a bug. When I have the option to hide the menu bar on, I'm not even allowed to drag a window manually to that space.

I have do have a notch.

Screenshot 2022-06-27 at 09 26 15
Tobbe commented 11 months ago

When I have the option to hide the menu bar on, I'm not even allowed to drag a window manually to that space.

This seems to not be true any more. I opened a discussion about it: https://github.com/rxhanson/Rectangle/discussions/1290