Open furf opened 11 months ago
Thanks for reporting. Would you mind including any logs that get generated when this happens?
In Rectangle menu, hold option, "View Logging..."
I don't see "View Logging…" in menu or prefs:
Hold the option key in the menu (it replaces "About").
Ah… I misread your previous message.
The logging only updates when I use Rectangle commands. When I switch layers in PS, the window resizes, but no logs are generated.
2023-08-01T12:56:31-07:00: AX sizing proposed: (1280.0, 1415.0), result: (1280.0, 1380.0)
2023-08-01T12:56:31-07:00: AX position proposed: (-2560.0, 25.0), result: (-2560.0, 25.0)
2023-08-01T12:56:31-07:00: AX sizing proposed: (1280.0, 1415.0), result: (1280.0, 1415.0)
2023-08-01T12:56:31-07:00: leftHalf | display: (-2560.0, 0.0, 2560.0, 1415.0), calculatedRect: (-2560.0, 25.0, 1280.0, 1415.0), resultRect: (-2560.0, 25.0, 1280.0, 1415.0), srcScreen: LG UltraFine (2), destScreen: LG UltraFine (2), resultScreen: LG UltraFine (2)
2023-08-01T12:56:35-07:00: AX sizing proposed: (1280.0, 1415.0), result: (1280.0, 1380.0)
2023-08-01T12:56:36-07:00: AX position proposed: (-2560.0, 25.0), result: (-2560.0, 25.0)
2023-08-01T12:56:36-07:00: AX sizing proposed: (1280.0, 1415.0), result: (1280.0, 1415.0)
2023-08-01T12:56:36-07:00: leftHalf | display: (-2560.0, 0.0, 2560.0, 1415.0), calculatedRect: (-2560.0, 25.0, 1280.0, 1415.0), resultRect: (-2560.0, 25.0, 1280.0, 1415.0), srcScreen: LG UltraFine (2), destScreen: LG UltraFine (2), resultScreen: LG UltraFine (2)
https://github.com/rxhanson/Rectangle/assets/35775/c741c3b8-e0d1-4642-ace6-95d9ba0e4d68
Thanks! Here's what's going on:
Unchecking the preference did not help. Nor did unchecking "Restore window size when unsnapped." (Tried just in case.)
While testing, I noticed the following behavior. If I do nothing (i.e. on startup) or manually resize the workspace window before switching layers, there is no resize. If I use Rectangle to resize the window, it will resize upon switching layers.
https://github.com/rxhanson/Rectangle/assets/35775/68b337db-5136-44c7-8011-2656ca16c6d9
I only realized now, after reading your #3, that I could block specific apps. That feature is only available via the menu. It would be nice if that feature was more visible in the general prefs. I would have disabled Rectangle w/ Photoshop long ago for different reasons (keystroke collisions). It will take some getting used to, but I'm going to move forward with that solution for myself. I'll be happy to re-enable and continue testing for you if you have other ideas.
Thanks for the additional info here. Unfortunately, what this means is that Photoshop is doing some sort of fragile window behavior that doesn't take into account whether or not a window is placed using the Accessibility API (the only way to move/resize windows as a 3rd party). There's not really anything that makes sense to do from the Rectangle side, so the only logical path forward from my perspective is to create an issue with Photoshop.
It would be nice if that feature was more visible in the general prefs.
It's a convention to do it this way, and adding it in the prefs UI is a lot of effort for a solution that is in my opinion not as elegant as just doing it in the menu. If there's enough demand with any feature, I can see allowing it in, though.
https://github.com/rxhanson/Rectangle/assets/48293860/5b0e7da1-16ac-4a3d-a6b8-c2d68272f6a6
Hey guys, I'm having the same problem where Photoshop window automatically reverts the Rectangle action. I usually put the window in the middle of the screen by using the shortcuts (Ctrl+Opt+C), and after doing so, it reverts the action after I do anything in Photoshop. Please see the attached screen recording. This has been going on for a while now.
@andrwmai Thanks for the screen recording. As mentioned in this thread, this issue is on Adobe's side unfortunately. Photoshop appears to have logic to maintain a window's size & position, and that logic is not aware of windows being placed using the Accessibility API (that all 3rd party window managers on macOS rely on).
@rxhanson thanks for the reply. Does this mean only Adobe can resolve this issue?
@andrwmai yes. The window resizing that you are experiencing when you do anything in Photoshop is not being performed by Rectangle. At this time, I'm not aware of a workaround that could even be done from Rectangle's side.
Noticed the same behaviour with Illustrator 2024 when using Rectangle's Maximize
option.
InDesign 2024 seems to have similar issues (the icons disappearing from the top left), however the window doesn't seem to resize.
Rectangle conflicts w/ latest 24.7.0 release of Photoshop. I noticed it while it was in beta as well.
When switching layers in PS, the workspace window resizes. Disabling Rectangle resolves the issue.
See video: https://github.com/rxhanson/Rectangle/assets/35775/30a69603-9b92-4753-aa4e-9f6800a139cf
OG Tweets
Photoshop version: 24.7.0 macOS version: 12.5 Rectangle version: v0.69 Logs if applicable (In Rectangle menu, hold option, "View Logging..."):