Rectangle icon indicating copy to clipboard operation
Rectangle copied to clipboard

rectangle can't Maximize one APP on mac

Open lijial opened this issue 2 years ago • 3 comments

  • [ ] This is a new bug that hasn't been documented in a closed issue or in the Readme.

macOS version: 13.0.1 (22A400) Rectangle version: 0.67 (73) and another lower version Logs if applicable (In Rectangle menu, hold option, "View Logging..."):

use rectangle bug describe: there is a interior APP on my mac,when I use rectangle shortcut to Maximize the window of the APP, the APP windows keep small on mac,but still adjust to ionthe middle of mac window except this interior APP,rectangle works well on all other APP on my mac

my question: I wanna know if rectangle has log, and I wanna know if this is a bug of rectangle? Or maybe my interior APP has special protective measures ?

make common drag on the interior APP the interior APP, when I use mouse to Dragging it's edges, it can correctly adjust the size and position according to my drag and drop

lijial avatar Apr 08 '23 05:04 lijial

Hold the option key and select view logging in the menu bar menu to see the rectangle logging.

This scenario you are describing means that the app you are trying to resize is not responding to the accessibility API for resizing its window. Unfortunately there is nothing that can be done Rectangle side for this, and you'll need to file an issue with that app.

rxhanson avatar Apr 09 '23 13:04 rxhanson

  • Thank you for your reply

  • I try to compare the log of rectangle,for app which can Maximize window by rectangle and which cannot

    • APP on mac,cannot Maximize when using rectangle, log as follows
    023-04-10T11:08:29+08:00: AX sizing proposed: (1100.0, 680.0), result: (1100.0, 680.0)
    023-04-10T11:08:29+08:00: AX position proposed: (2410.0, 3.0), result: (2410.0, 3.0)
    023-04-10T11:08:29+08:00: AX sizing proposed: (1100.0, 680.0), result: (1100.0, 680.0)
    023-04-10T11:08:29+08:00: maximize | display: (1680.0, 0.0, 2560.0, 1415.0), calculatedRect: (1680.0, -365.0, 2560.0, 1415.0), resultRect: (2410.0, 3.0, 1100.0, 680.0), srcScreen: T27qs, destScreen: T27qs, resultScreen: T27qs
    
    • APP on mac,can Maximize when using rectangle, log as follows
    023-04-10T11:06:55+08:00: AX sizing proposed: (2560.0, 1415.0), result: (1992.0, 1250.0)
    023-04-10T11:06:55+08:00: AX position proposed: (1680.0, -365.0), result: (1680.0, -365.0)
    023-04-10T11:06:55+08:00: AX sizing proposed: (2560.0, 1415.0), result: (2560.0, 1415.0)
    023-04-10T11:06:55+08:00: maximize | display: (1680.0, 0.0, 2560.0, 1415.0), calculatedRect: (1680.0, -365.0, 2560.0, 1415.0), resultRect: (1680.0, -365.0, 2560.0, 1415.0), srcScreen: T27qs, destScreen: T27qs, resultScreen: T27qs
    
  • Based on the above log data,I discovered the following characteristics

    • the app who can maximize,has some characteristic
      • AX sizing proposed big,AX position proposed small,resultRect's first coordinate small,resultRect's third coordinate big
    • the app who cannot maximize,has some contrary characteristic
      • AX sizing proposed small,AX position proposed big,,resultRect's first coordinate big,resultRect's third coordinate small
  • my question

    • is it a bug of rectangle, that call Obtain coordinates API not correct ?
    • then is not the APP ,which not responding to the resizing window accessibility API ?

lijial avatar Apr 10 '23 03:04 lijial

Which app is not maximizing? Does it have a free trial that I can use to test it?

rxhanson avatar Apr 11 '23 01:04 rxhanson