-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move/resize with modifier keys does not work in some apps #596
Comments
Thanks for letting me know, and for all of the details here. I'll see what I can do for both of these, but can't make any guarantees. |
I am a bit at a loss why, but now the gesture works for Edit: nevermind, Raycast notes suddenly stopped reacting to this gesture after a few minutes. It seems like it might be a Raycast problem than a rectangle problem. Apple notes still works though 🤷 Edit2: after a couple of more reboots, I managed to consistently replicate Raycast Notes' behavior. When first launched after rebooting Mac, the window is detected correctly and all Rectangle Pro gestures (including throw and the move with cursor) work just fine. But if I close the notes window and launch it again, then it breaks and it shows the behavior I described in my original post. |
Not only gestures on Apple notes stoped working again, but also really inconsistent behavior with Bear (see screenrecording). It seems that (sometimes) unless I click first on the app window, the gesture doesn't work. But in a weird twist it exhibits exactly the opposite behavior as that of apple notes - when the cursor is over a handwritten sketch in Bear, Rectangle gestures are able to reclaim focus on the window (sorry I don't know the proper vocabulary for all these UI elements, I hope it's understandable. You can see that strange effect towards the end of the screencast). Screen.Recording.2024-12-03.at.18.55.20.movI'm not 100% sure, but I think these problems started happening sporadically after I updated to Sequoia - for months before that I never had a problem with Rectangle's gestures. I wonder if Apple broke some API that rectangle depends on? |
The accessibility API can get tripped up in unintuitive ways. Rectangle Pro with Notes has continued to work fine for me after the update, and since you're the first to report this then it might point to something being a little different about your setup. One thing you could try (although tedious) is to remove accessibility privileges for all of the apps that have them, then re-add them, starting with Rectangle Pro. Quit each app prior to removing accessibility privileges. This has worked in similar scenarios in the past for some users. |
Thank you for the advice, I will try it. I have indeed had issues with different apps creating accessibility conflicts. The problems might be indeed related to something I have installed at a similar time as the OS update. I'll report back if the problems can get fixed by this or if there's something different going on. |
I created a new user on my Mac and disabled all accessibility permissions except for rectangle. The same problems persist. Now I noticed it with Microsoft Teams as well. With Teams the situation is:
|
Thanks for trying that out and letting me know. This is still likely something that is specific to your setup. It might be worth it to reset Rectangle Pro's accessibility permissions here as well: Manual instructions:
-or- Terminal equivalent:
Apologies for the pain; sometimes this is an unfortunate part of only being able to use the Accessibility API as a 3rd party. |
Thanks for the additional info. I think I have it figured out. Mind trying out this version? https://rectangleapp.com/pro/downloads/Rectangle Pro 3.0.39.dmg |
Yay! It works - both Raycast notes and Teams now have no problem. For Apple Notes I won't be able to tell immediately since I don't know how to replicate the conditions under which the problem appeared, but for the other reliable cases, this version seems to completely resolve the problem. |
Correction - for Raycast notes there is a slight remaining problem. If I switch the focus to a different app window, then go back to Raycast notes, rectangle shortcuts again don't work until I activate them when the cursor is over the title bar. After that they work anywhere in the window body. So this is a progress relative to before, but it still doesn't work as smoothly as with other apps. It has something to do with window focus. If the Raycast notes window is on top of another app window (e.g. Finder), the rectangle shortcuts apply to the finder window even though the mouse cursor is on top of Raycast. Once I activate the Raycast window by clicking specifically on its titlebar, then rectangle's shortcuts start applying to it instead of |
And with Teams while it mostly works, I need to first click on the window to activate it. With most other apps, Rectangle's Throw shortcuts work on whatever window is under the mouse cursor, regardless of whether it is the active window. I have really gotten used to that behavior in my workflow because it saves me from having to first click on an app window to control its position. |
Thanks for the quick turnaround! I'll dig a little deeper and see what I can find. |
The ability to move and resize windows with the moves while holding modifier keys is one of my favorite features of Rectangle.
![Screenshot 2024-12-02 at 15 53 42](https://private-user-images.githubusercontent.com/12783882/391591721-0ad339ec-5d1c-45f2-afd7-a02774d636b4.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzMzMxODIsIm5iZiI6MTczOTMzMjg4MiwicGF0aCI6Ii8xMjc4Mzg4Mi8zOTE1OTE3MjEtMGFkMzM5ZWMtNWQxYy00NWYyLWFmZDctYTAyNzc0ZDYzNmI0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDA0MDEyMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQ2YmMyYjY2ZGI2YmRlNmZjNjEzYjZkYWQ2MTM1OTY4ZDk3N2Y5MmQwMWZlYTI5NzYwNGI1MWIyNzNlYmRiNmMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.4MNuKJenoZWi_Y-r6S0wh7GcTgr-ZGW8joiggRuKkxw)
Until recently it worked flawlessly, but I am having issues in two apps now.
The move/resize commands do not work if the cursor is on top of a handwritten section in a note:
Screen.Recording.2024-12-02.at.15.56.30.mov
It works just fine if the cursor is anywhere else in the notes app, or even within a note if part of a typed note. But when it's over a handwritten section, the Notes window will not move. The logs reveal that Rectange is proposing correctly new positions, but for some reason the result remains the same!
A similar but different problem here. With Raycast notes it only works if the cursor is on the top bar of the note, but if the cursor is anywhere else on the window, the logs show that Rectangle cannot identify the window id:
Screen.Recording.2024-12-02.at.15.40.04.mov
I have contacted Raycast about this, and I'm not sure how to interpret their response and whether there is anything from Rectangle's side that needs to be fixed:
The two problems are superficially the same, but the logger seems to indicate different underlying causes. The Apple Notes issue only began after the OS update.
macOS version: 15.2
Rectangle version: v3.0.37
Logs if applicable (In Rectangle menu, hold option, "View Logging..."):
The text was updated successfully, but these errors were encountered: