rxhanson / RectanglePro-Community

Bug reports and discussion for the Rectangle Pro app
https://rectangleapp.com/pro
98 stars 1 forks source link

resizing stashed window via rectangle (shortcut or throwing) unstashes it #135

Open nikoloz110 opened 2 years ago

nikoloz110 commented 2 years ago

macOS version: 12.2 Rectangle version: 2.6.2 Logs if applicable (In Rectangle menu, hold option, "View Logging..."):

2022-10-09T06:53:08+04:00: Obtained window from window number under cursor
2022-10-09T06:53:45+04:00: Unable to obtain accessibility element 0
2022-10-09T06:53:45+04:00: Unable to obtain window via list
2022-10-09T06:53:48+04:00: AX position proposed: (1679.0, 8.0), result: (1679.0, 8.0)
2022-10-09T06:53:54+04:00: AX position proposed: (0.0, 8.0), result: (0.0, 8.0)
2022-10-09T06:53:58+04:00: Unable to obtain accessibility element 0
2022-10-09T06:53:58+04:00: Unable to obtain window via list
2022-10-09T06:54:02+04:00: AX sizing proposed: (560.0, 1050.0), result: (560.0, 1050.0)
2022-10-09T06:54:02+04:00: AX position proposed: (0.0, 0.0), result: (0.0, 0.0)
2022-10-09T06:54:02+04:00: AX sizing proposed: (560.0, 1050.0), result: (560.0, 1050.0)
2022-10-09T06:54:02+04:00: firstThird | display: (0.0, 0.0, 1680.0, 1050.0), calculatedRect: (0.0, 0.0, 560.0, 1050.0), resultRect: (0.0, 0.0, 560.0, 1050.0), srcScreen: Built-in Retina Display, destScreen: Built-in Retina Display, resultScreen: Built-in Retina Display
2022-10-09T06:54:05+04:00: Obtained window from window number under cursor

how to reproduce: stash the window, hover over the mouse to the side of screen to make it visible, change it's size via rectangle (keyboard shortcut or throwing), it gets unstashed.

resizing window via rectangle (be it via keyboard shortcut, or window throwing) unstashes that window. while if I resize it manually it stays stashed. I believe It should stay stashed in both cases P.S I have unchecked - "unstash a window - when moved clear of the screen edge"

rxhanson commented 1 year ago

Sorry for the delay on this one (I was traveling last week during the conversation on Charmstone and am finally back looking through the code).

To disable this behavior, execute this terminal command and restart the app:

defaults write com.knollsoft.Hookshot stashClearedByOtherActions -int 2