RectanglePro-Community icon indicating copy to clipboard operation
RectanglePro-Community copied to clipboard

Rectangle Pro isn't able to grab windows from Logos Bible Software

Open Korean-David opened this issue 10 months ago • 6 comments

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

macOS version: Sequoia 15.2 Rectangle version: v3.0.41 (182)

Rectangle Pro isn't able to grab windows from Logos Bible Software. I've encountered this issue before, and with updates to both Rectangle Pro and Logos, the problem has come and gone.

However, this time, the issue has persisted for a while. It seems particularly tricky to grab windows from this app. Interestingly, I recently discovered that the Mac app Loop is able to grab Logos windows without any issues.

Logs if applicable (In Rectangle menu, hold option, "View Logging..."): 2025-01-23T11:01:34-06:00: Rectangle Pro v3.0.41 (182) macOS: Version 15.2 (Build 24C101) Model: iMac19,1 [3] License activation: (2024-11-01 14:59:03 +0000) 2025-01-23T11:01:36-06:00: Unable to obtain accessibility element -25208 2025-01-23T11:01:36-06:00: Window obtained via list: Logos CGWindowInfo(id: 29783, pid: 43338, rect: (-15.0, 112.0, 1020.0, 1038.0), onScreen: Optional(true), layer: Optional(0)) 2025-01-23T11:01:37-06:00: AX sizing proposed: (1020.0, 1038.0), result: (1020.0, 1038.0) 2025-01-23T11:01:37-06:00: AX position proposed: (2.0, 70.0), result: (2.0, 70.0) 2025-01-23T11:01:37-06:00: AX sizing proposed: (1020.0, 1038.0), result: (1020.0, 1038.0) 2025-01-23T11:01:37-06:00: leftHalf | display: (0.0, 0.0, 2048.0, 1127.0), calculatedRect: (0.0, 25.0, 1024.0, 1127.0), resultRect: (2.0, 70.0, 1020.0, 1038.0), srcScreen: Built-in Retina Display, destScreen: Built-in Retina Display, resultScreen: Built-in Retina Display 2025-01-23T11:01:38-06:00: Unable to obtain accessibility element -25208 2025-01-23T11:01:38-06:00: Window obtained via list: Logos CGWindowInfo(id: 29783, pid: 43338, rect: (2.0, 70.0, 1020.0, 1038.0), onScreen: Optional(true), layer: Optional(0)) 2025-01-23T11:01:38-06:00: AX sizing proposed: (1020.0, 1038.0), result: (1020.0, 1038.0) 2025-01-23T11:01:38-06:00: AX position proposed: (1026.0, 70.0), result: (1026.0, 70.0) 2025-01-23T11:01:38-06:00: AX sizing proposed: (1020.0, 1038.0), result: (1020.0, 1038.0) 2025-01-23T11:01:38-06:00: rightHalf | display: (0.0, 0.0, 2048.0, 1127.0), calculatedRect: (1024.0, 25.0, 1024.0, 1127.0), resultRect: (1026.0, 70.0, 1020.0, 1038.0), srcScreen: Built-in Retina Display, destScreen: Built-in Retina Display, resultScreen: Built-in Retina Display 2025-01-23T11:01:39-06:00: Unable to obtain accessibility element -25208 2025-01-23T11:01:39-06:00: Window obtained via list: Logos CGWindowInfo(id: 28535, pid: 43338, rect: (0.0, 25.0, 1024.0, 1127.0), onScreen: Optional(true), layer: Optional(0)) 2025-01-23T11:01:40-06:00: Current frame is equal to new frame 2025-01-23T11:01:41-06:00: Unable to obtain accessibility element -25208 2025-01-23T11:01:41-06:00: Window obtained via list: Logos CGWindowInfo(id: 28535, pid: 43338, rect: (0.0, 25.0, 1024.0, 1127.0), onScreen: Optional(true), layer: Optional(0)) 2025-01-23T11:01:42-06:00: AX sizing proposed: (540.0, 1895.0), result: (540.0, 1127.0) 2025-01-23T11:01:42-06:00: AX position proposed: (-540.0, -229.0), result: (-540.0, -229.0) 2025-01-23T11:01:42-06:00: AX sizing proposed: (540.0, 1895.0), result: (540.0, 1381.0) 2025-01-23T11:01:42-06:00: Window size didn't adjust correctly across displays. Attempted:(-540.0, -514.0, 540.0, 1895.0), resulting:(-540.0, -229.0, 540.0, 1381.0) Trying again. 2025-01-23T11:01:42-06:00: AX sizing proposed: (540.0, 1895.0), result: (540.0, 1895.0) 2025-01-23T11:01:42-06:00: AX position proposed: (-540.0, -229.0), result: (-540.0, -229.0) 2025-01-23T11:01:42-06:00: AX sizing proposed: (540.0, 1895.0), result: (540.0, 1895.0) 2025-01-23T11:01:42-06:00: leftHalf | display: (-1080.0, -514.0, 1080.0, 1895.0), calculatedRect: (-540.0, -229.0, 540.0, 1895.0), resultRect: (-540.0, -229.0, 540.0, 1895.0), srcScreen: Built-in Retina Display, destScreen: LG Ultra HD, resultScreen: LG Ultra HD 2025-01-23T11:01:43-06:00: Unable to obtain accessibility element -25208 2025-01-23T11:01:43-06:00: Window obtained via list: Logos CGWindowInfo(id: 29783, pid: 43338, rect: (-538.0, -142.0, 536.0, 1807.0), onScreen: Optional(true), layer: Optional(0)) 2025-01-23T11:01:44-06:00: AX sizing proposed: (536.0, 1807.0), result: (536.0, 1807.0) 2025-01-23T11:01:44-06:00: AX position proposed: (1267.7925925925927, -289.2591029023745), result: (1267.0, -289.0) 2025-01-23T11:01:44-06:00: AX sizing proposed: (536.0, 1807.0), result: (536.0, 1807.0) 2025-01-23T11:01:44-06:00: AX sizing proposed: (536.0, 1807.0), result: (536.0, 1807.0) 2025-01-23T11:01:44-06:00: AX position proposed: (1267.0, -655.0), result: (1267.0, -655.0) 2025-01-23T11:01:44-06:00: AX sizing proposed: (536.0, 1807.0), result: (536.0, 1807.0) 2025-01-23T11:01:44-06:00: Window size didn't adjust correctly across displays. Attempted:(1027.7925925925927, 0.5947229551451187, 1016.4148148148148, 1074.6643799472295), resulting:(1267.0, -655.0, 536.0, 1807.0) Trying again. 2025-01-23T11:01:44-06:00: AX sizing proposed: (536.0, 1807.0), result: (536.0, 1807.0) 2025-01-23T11:01:44-06:00: AX position proposed: (1267.7925925925927, -289.2591029023745), result: (1267.0, -289.0) 2025-01-23T11:01:44-06:00: AX sizing proposed: (536.0, 1807.0), result: (536.0, 1807.0) 2025-01-23T11:01:44-06:00: AX sizing proposed: (536.0, 1807.0), result: (536.0, 1807.0) 2025-01-23T11:01:44-06:00: AX position proposed: (1267.0, -655.0), result: (1267.0, -655.0) 2025-01-23T11:01:44-06:00: AX sizing proposed: (536.0, 1807.0), result: (536.0, 1807.0) 2025-01-23T11:01:44-06:00: nextDisplayRatio | display: (0.0, 0.0, 2048.0, 1127.0), calculatedRect: (1027.7925925925927, 76.74089709762552, 1016.4148148148148, 1074.6643799472295), resultRect: (1267.0, -655.0, 536.0, 1807.0), srcScreen: LG Ultra HD, destScreen: Built-in Retina Display, resultScreen: Built-in Retina Display 2025-01-23T11:01:46-06:00: Updating visible window info 2025-01-23T11:01:46-06:00: Unable to obtain the accessibility element with the specified attribute at mouse location 2025-01-23T11:01:47-06:00: Updating visible window info 2025-01-23T11:01:49-06:00: Updating visible window info

Korean-David avatar Jan 23 '25 17:01 Korean-David

Thanks for reporting. In looking through the logs, the window is being obtained for all of those scenarios except for the one at the end. When it's not working properly, what functionality is breaking? Is there no dot being displayed for the window throw?

rxhanson avatar Jan 24 '25 06:01 rxhanson

Thanks for reporting. In looking through the logs, the window is being obtained for all of those scenarios except for the one at the end. When it's not working properly, what functionality is breaking? Is there no dot being displayed for the window throw?

I see the dot and the gray throw area, but the window often fails to move as intended. Interestingly, Rectangle Pro always succeeds in grabbing the toolbar area of the Logos windows, whereas it frequently struggles with the text area. By the way, keyboard shortcuts always work with Logos.

Korean-David avatar Jan 24 '25 14:01 Korean-David

Looks like it fails to move as intended when going to a different display? Is that correct?

Interestingly, Rectangle Pro always succeeds in grabbing the toolbar area of the Logos windows, whereas it frequently struggles with the text area. By the way, keyboard shortcuts always work with Logos.

This is helpful, thanks!

rxhanson avatar Jan 24 '25 16:01 rxhanson

Looks like it fails to move as intended when going to a different display? Is that correct?

Not necessarily. It happens also in the same display.

Korean-David avatar Jan 24 '25 17:01 Korean-David

Ok, I finally got some time to install Logos and test it out. What appears to be happening is that the Logos window has another transparent window that is sitting in front of it. Once that window is out of the way, then a second window throw seems to work every time for me. I don't look at any of Loop's code since it's not licensed in a way that I can use, but I'm surprised that it wouldn't have the same issue.

Since this is a special case for Logos, it might take some time for a fix for this to bubble up to the top. Thanks for your help and patience.

rxhanson avatar Jan 27 '25 05:01 rxhanson

Ok, I finally got some time to install Logos and test it out. What appears to be happening is that the Logos window has another transparent window that is sitting in front of it. Once that window is out of the way, then a second window throw seems to work every time for me. I don't look at any of Loop's code since it's not licensed in a way that I can use, but I'm surprised that it wouldn't have the same issue.

Since this is a special case for Logos, it might take some time for a fix for this to bubble up to the top. Thanks for your help and patience.

Thank you very much! I'm looking forward to the fix!

Korean-David avatar Jan 27 '25 13:01 Korean-David