Rectangle icon indicating copy to clipboard operation
Rectangle copied to clipboard

"Center" doesn't respect Stage Manager

Open ajsirota 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.

When I use Hyper-C to center a window, it centers it on my entire screen, which doesn't respect the Stage Manager preview like other shortcuts do.

macOS version: Ventura 13.5.1 Rectangle version: 0.70 Logs if applicable (In Rectangle menu, hold option, "View Logging..."):

2023-09-06T10:48:05-07:00: AX sizing proposed: (1430.0, 965.0), result: (1430.0, 965.0)
2023-09-06T10:48:05-07:00: AX position proposed: (125.0, 55.0), result: (125.0, 55.0)
2023-09-06T10:48:05-07:00: AX sizing proposed: (1430.0, 965.0), result: (1430.0, 965.0)
2023-09-06T10:48:05-07:00: center | display: (0.0, 0.0, 1680.0, 1025.0), calculatedRect: (125.0, 55.0, 1430.0, 965.0), resultRect: (125.0, 55.0, 1430.0, 965.0), srcScreen: Built-in Retina Display, destScreen: Built-in Retina Display, resultScreen: Built-in Retina Display
2023-09-06T10:48:08-07:00: Unable to obtain the accessibility element with the specified attribute at mouse location

ajsirota avatar Sep 06 '23 17:09 ajsirota

Hi! You can try this defaults write com.knollsoft.Rectangle alwaysAccountForStage -bool true

eshpakovsky avatar Sep 06 '23 21:09 eshpakovsky

@rxhanson Maybe it is worth mentioning this option in TerminalCommands.md or even adding it to the UI?

eshpakovsky avatar Sep 06 '23 21:09 eshpakovsky

Thanks @eshpakovsky, indeed I need to add this to the TerminalCommands.md. I don't have plans to add this to the UI unless there is a ton of demand.

rxhanson avatar Sep 07 '23 01:09 rxhanson