Skip to content

"Center" doesn't respect Stage Manager #1253

Closed

Description

@ajsirota
  • 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

Activity

  1. added
    bug
    on Sep 6, 2023
  2. eshpakovsky commented on Sep 6, 2023

    @eshpakovsky

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

  3. eshpakovsky commented on Sep 6, 2023

    @eshpakovsky

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

  4. rxhanson commented on Sep 7, 2023

    @rxhanson
    Owner

    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.

  5. syu-id commented on Mar 18, 2025

    @syu-id

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

    This works perfectly. Just change com.knollsoft.Rectangle to com.knollsoft.Hookshot when using Rectangle Pro.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions