Skip to content

Rectangle not respecting dock size #1674

Open

Description

@ryangrush

I know this issue has been reported before, ex: #467, but I wanted to share the context of what I'm seeing.

The key thing for me is this only became an issue when I switched to Mac OS Tahoe. As others have said it seems to only be an issue when I plug or unplug my MBP into my external display (via a KVM switch most of the time). I also can't fix it by just clicking "Maximize", for example, multiple times. I have to kill the Rectangle process and open the app again.

macOS version: Tahoe 26.1
Rectangle version: v0.92 (98)
Logs if applicable (In Rectangle menu, hold option, "View Logging..."):

Activity

  1. added
    bug
    on Dec 13, 2025
  2. rxhanson commented on Dec 13, 2025

    @rxhanson
    Owner

    Thanks for reporting. As you probably noticed from previous issues, Rectangle is passively asking for the screen dimensions, which makes it hard to tell why restarting Rectangle would fix it. This would suggest that there's some form of caching of screen dimensions macOS side that gets refreshed when an app with accessibility permissions is launched, and perhaps the only way to work around it would be to have Rectangle automatically restart itself when displays are changed.

    If you don't mind, when this breaks, can you send what the logs show when you execute a command, and when you restart it, a log of the correct behavior? I'd like to make sure I understand what Rectangle sees when it's broken.

  3. ryangrush commented on Dec 15, 2025

    @ryangrush
    Author

    @rxhanson here we go. Again I basically just used my KVM switch to switch from one laptop to the other and back again.

    2025-12-15T11:19:09-06:00: AX sizing proposed: (1361.0, 786.0), result: (1361.0, 786.0)
    2025-12-15T11:19:09-06:00: AX position proposed: (76.0, 77.0), result: (76.0, 77.0)
    2025-12-15T11:19:09-06:00: AX sizing proposed: (1361.0, 786.0), result: (1361.0, 786.0)
    2025-12-15T11:19:09-06:00: almostMaximize, display: (0.0, 75.0, 1512.0, 873.0), calculatedRect: (76.0, 77.0, 1361.0, 786.0), resultRect: (76.0, 77.0, 1361.0, 786.0), srcScreen: Built-in Retina Display, destScreen: Built-in Retina Display, resultScreen: Built-in Retina Display
    2025-12-15T11:19:10-06:00: AX sizing proposed: (1492.0, 853.0), result: (1436.0, 829.0)
    2025-12-15T11:19:10-06:00: AX position proposed: (10.0, 44.0), result: (10.0, 44.0)
    2025-12-15T11:19:10-06:00: AX sizing proposed: (1492.0, 853.0), result: (1492.0, 853.0)
    2025-12-15T11:19:10-06:00: maximize, display: (0.0, 75.0, 1512.0, 873.0), calculatedRect: (10.0, 44.0, 1492.0, 853.0), resultRect: (10.0, 44.0, 1492.0, 853.0), srcScreen: Built-in Retina Display, destScreen: Built-in Retina Display, resultScreen: Built-in Retina Display
    2025-12-15T11:19:16-06:00: Failed to find frontmost window.
    2025-12-15T11:19:18-06:00: AX sizing proposed: (1361.0, 786.0), result: (1361.0, 786.0)
    2025-12-15T11:19:18-06:00: AX position proposed: (76.0, 77.0), result: (76.0, 77.0)
    2025-12-15T11:19:18-06:00: AX sizing proposed: (1361.0, 786.0), result: (1361.0, 786.0)
    2025-12-15T11:19:18-06:00: almostMaximize, display: (0.0, 75.0, 1512.0, 873.0), calculatedRect: (76.0, 77.0, 1361.0, 786.0), resultRect: (76.0, 77.0, 1361.0, 786.0), srcScreen: Built-in Retina Display, destScreen: Built-in Retina Display, resultScreen: Built-in Retina Display
    2025-12-15T11:19:19-06:00: AX sizing proposed: (1492.0, 853.0), result: (1436.0, 829.0)
    2025-12-15T11:19:19-06:00: AX position proposed: (10.0, 44.0), result: (10.0, 44.0)
    2025-12-15T11:19:19-06:00: AX sizing proposed: (1492.0, 853.0), result: (1492.0, 853.0)
    2025-12-15T11:19:19-06:00: maximize, display: (0.0, 75.0, 1512.0, 873.0), calculatedRect: (10.0, 44.0, 1492.0, 853.0), resultRect: (10.0, 44.0, 1492.0, 853.0), srcScreen: Built-in Retina Display, destScreen: Built-in Retina Display, resultScreen: Built-in Retina Display
    2025-12-15T11:19:21-06:00: AX sizing proposed: (1361.0, 786.0), result: (1361.0, 786.0)
    2025-12-15T11:19:21-06:00: AX position proposed: (76.0, 77.0), result: (76.0, 77.0)
    2025-12-15T11:19:21-06:00: AX sizing proposed: (1361.0, 786.0), result: (1361.0, 786.0)
    2025-12-15T11:19:21-06:00: almostMaximize, display: (0.0, 75.0, 1512.0, 873.0), calculatedRect: (76.0, 77.0, 1361.0, 786.0), resultRect: (76.0, 77.0, 1361.0, 786.0), srcScreen: Built-in Retina Display, destScreen: Built-in Retina Display, resultScreen: Built-in Retina Display
    2025-12-15T11:19:22-06:00: AX sizing proposed: (1492.0, 853.0), result: (1436.0, 829.0)
    2025-12-15T11:19:22-06:00: AX position proposed: (10.0, 44.0), result: (10.0, 44.0)
    2025-12-15T11:19:22-06:00: AX sizing proposed: (1492.0, 853.0), result: (1492.0, 853.0)
    2025-12-15T11:19:22-06:00: maximize, display: (0.0, 75.0, 1512.0, 873.0), calculatedRect: (10.0, 44.0, 1492.0, 853.0), resultRect: (10.0, 44.0, 1492.0, 853.0), srcScreen: Built-in Retina Display, destScreen: Built-in Retina Display, resultScreen: Built-in Retina Display
    2025-12-15T11:19:28-06:00: Current frame is equal to new frame
    2025-12-15T11:19:28-06:00: AX sizing proposed: (1361.0, 786.0), result: (1361.0, 786.0)
    2025-12-15T11:19:28-06:00: AX position proposed: (76.0, 77.0), result: (76.0, 77.0)
    2025-12-15T11:19:28-06:00: AX sizing proposed: (1361.0, 786.0), result: (1361.0, 786.0)
    2025-12-15T11:19:28-06:00: almostMaximize, display: (0.0, 75.0, 1512.0, 873.0), calculatedRect: (76.0, 77.0, 1361.0, 786.0), resultRect: (76.0, 77.0, 1361.0, 786.0), srcScreen: Built-in Retina Display, destScreen: Built-in Retina Display, resultScreen: Built-in Retina Display
    2025-12-15T11:19:29-06:00: AX sizing proposed: (1492.0, 853.0), result: (1436.0, 829.0)
    2025-12-15T11:19:29-06:00: AX position proposed: (10.0, 44.0), result: (10.0, 44.0)
    2025-12-15T11:19:29-06:00: AX sizing proposed: (1492.0, 853.0), result: (1492.0, 853.0)
    2025-12-15T11:19:29-06:00: maximize, display: (0.0, 75.0, 1512.0, 873.0), calculatedRect: (10.0, 44.0, 1492.0, 853.0), resultRect: (10.0, 44.0, 1492.0, 853.0), srcScreen: Built-in Retina Display, destScreen: Built-in Retina Display, resultScreen: Built-in Retina Display
    2025-12-15T11:20:20-06:00: Failed to find frontmost window.
    2025-12-15T11:20:21-06:00: AX sizing proposed: (1361.0, 853.0), result: (1361.0, 853.0)
    2025-12-15T11:20:21-06:00: AX position proposed: (76.0, 81.0), result: (76.0, 81.0)
    2025-12-15T11:20:21-06:00: AX sizing proposed: (1361.0, 853.0), result: (1361.0, 853.0)
    2025-12-15T11:20:21-06:00: almostMaximize, display: (0.0, 0.0, 1512.0, 948.0), calculatedRect: (76.0, 81.0, 1361.0, 853.0), resultRect: (76.0, 81.0, 1361.0, 853.0), srcScreen: Built-in Retina Display, destScreen: Built-in Retina Display, resultScreen: Built-in Retina Display
    2025-12-15T11:20:22-06:00: AX sizing proposed: (1492.0, 928.0), result: (1436.0, 901.0)
    2025-12-15T11:20:22-06:00: AX position proposed: (10.0, 44.0), result: (10.0, 44.0)
    2025-12-15T11:20:22-06:00: AX sizing proposed: (1492.0, 928.0), result: (1492.0, 928.0)
    2025-12-15T11:20:22-06:00: maximize, display: (0.0, 0.0, 1512.0, 948.0), calculatedRect: (10.0, 44.0, 1492.0, 928.0), resultRect: (10.0, 44.0, 1492.0, 928.0), srcScreen: Built-in Retina Display, destScreen: Built-in Retina Display, resultScreen: Built-in Retina Display
    2025-12-15T11:20:45-06:00: AX sizing proposed: (1361.0, 853.0), result: (1361.0, 853.0)
    2025-12-15T11:20:45-06:00: AX position proposed: (76.0, 81.0), result: (76.0, 81.0)
    2025-12-15T11:20:45-06:00: AX sizing proposed: (1361.0, 853.0), result: (1361.0, 853.0)
    2025-12-15T11:20:45-06:00: almostMaximize, display: (0.0, 0.0, 1512.0, 948.0), calculatedRect: (76.0, 81.0, 1361.0, 853.0), resultRect: (76.0, 81.0, 1361.0, 853.0), srcScreen: Built-in Retina Display, destScreen: Built-in Retina Display, resultScreen: Built-in Retina Display
    2025-12-15T11:20:45-06:00: AX sizing proposed: (1492.0, 928.0), result: (1436.0, 901.0)
    2025-12-15T11:20:45-06:00: AX position proposed: (10.0, 44.0), result: (10.0, 44.0)
    2025-12-15T11:20:45-06:00: AX sizing proposed: (1492.0, 928.0), result: (1492.0, 928.0)
    2025-12-15T11:20:45-06:00: maximize, display: (0.0, 0.0, 1512.0, 948.0), calculatedRect: (10.0, 44.0, 1492.0, 928.0), resultRect: (10.0, 44.0, 1492.0, 928.0), srcScreen: Built-in Retina Display, destScreen: Built-in Retina Display, resultScreen: Built-in Retina Display
    
  4. daedalist commented on Feb 18, 2026

    @daedalist

    I think I've been experiencing this too: Rectangle respects the Dock when I'm connected to an external monitor, but when I unplug, Rectangle seems to ignore the Dock, so windows get moved behind it.

    Restarting Rectangle seems to correct the behaviour.

  5. stewartadam commented on Mar 5, 2026

    @stewartadam

    One can also use the vertical resize handlebars to adjust the dock size by 1px and then it honors the new dock position after switching monitors.

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