(mac monterey 12.0.1) Rectangle unresponsive after afk induced logout
- [x] This is a new bug that hasn't been documented in a closed issue or in the Readme.
Forgive me if I am just an idiot, but ever since the recent mac update I have noticed that after being afk for a long period of time mac will log out of my user account. Upon re-logging, box seems to be unresponsive to drag snapping. When attempting to force a snap via the menu bar icon, I hear the mac error clicking sound. The only fix seems to be a reboot.
macOS version: Monterey 12.0.1 Rectangle version: 0.49 (54) Logs if applicable (In Rectangle menu, hold option, "View Logging..."):
Does this happen every time?
I can confirm that the same behavior is also occurring on my machine. Every time my MacBook Pro wakes-up to the login screen after going to sleep/being afk for a while. To be clear, the Rectangle app itself is still running and available in the menu bar.
According to the logs, there seems to be an issue with the window id (see below). I can also recreate the same issue with other window-managers as well (e.g. Magnet).
macOS version: Monterey 12.0.1
Rectangle version: 0.49 (54)
Logs if applicable (In Rectangle menu, hold option, "View Logging..."): Unable to obtain window id
Unfortunately, this appears to be a macOS issue. I’ll think about adding a restart on wake option to Rectangle, but that’s kind of an annoying workaround.
It’s not super inconvenient, just thought if would be good to have this documented. Thanks for the fantastic software!
On Thu, Nov 18, 2021 at 7:38 PM Ryan Hanson @.***> wrote:
Unfortunately, this appears to be a macOS issue. I’ll think about adding a restart on wake option to Rectangle, but that’s kind of an annoying workaround.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rxhanson/Rectangle/issues/640#issuecomment-973674126, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKYFBPNLODV5KWMLFJ7TDEDUMW2A3ANCNFSM5IER6Q5A .
I have the same problem, but I found that you can get it working without a reboot, you just have to lock the screen (command + control + Q), then push escape to turn off the screen, and then you can just wake the mac again and rectangle will work.
macOS version: Monterey 12.0.1 Rectangle version: 0.49 (54) Logs if applicable (In Rectangle menu, hold option, "View Logging..."): Unable to obtain window id
I have the same problem, but I found that you can get it working without a reboot, you just have to lock the screen (command + control + Q), then push escape to turn off the screen, and then you can just wake the mac again and rectangle will work.
This worked for me! Thank you!
Unfortunately, this appears to be a macOS issue. I’ll think about adding a restart on wake option to Rectangle, but that’s kind of an annoying workaround.
You don't need to do that, a reboot of rectangle does not fix it. What @alexarraiza recommends, works.
Big thanks to you both!
I have the same problem, but I found that you can get it working without a reboot, you just have to lock the screen (command + control + Q), then push escape to turn off the screen, and then you can just wake the mac again and rectangle will work.
macOS version: Monterey 12.0.1 Rectangle version: 0.49 (54) Logs if applicable (In Rectangle menu, hold option, "View Logging..."): Unable to obtain window id
Doesn't work for me, Monterey 12.4 M1 Air 2020. Other suggestions?
Having this issue as well, but I don't think it's unique to Rectangle as I quit rectangle completely and enabled Window Snapping in Better Touch Tool and experienced the same issue.
Commenting because I started having this problem recently, and to confirm that restarting Rectangle does not fix the problem, and https://github.com/rxhanson/Rectangle/issues/640#issuecomment-975741643 does.
I cannot remember the exact cause but it's related to some macOS accessibility security that when the machine wakes up, macOS security fails to be removed when it should be. Locking the screen and then unlocking the screen will fix this issue. Happens for HyperSwitch app too.
Just to confirm, the problem remains on macOS Ventura as well, with the fix of locking and unlocking the screen as suggested in https://github.com/rxhanson/Rectangle/issues/640#issuecomment-975741643 still working.
The workaround proposed above by @alexarraiza does not work for me, but I am on a machine managed with Mosyle.
Hi all, am I having another issue or is this behavior still happening as of July 2023?
I have the same problem, but I found that you can get it working without a reboot, you just have to lock the screen (command + control + Q), then push escape to turn off the screen, and then you can just wake the mac again and rectangle will work.
macOS version: Monterey 12.0.1 Rectangle version: 0.49 (54) Logs if applicable (In Rectangle menu, hold option, "View Logging..."): Unable to obtain window id
This worked! Thanks!
Same issue here for new MAC OS Sonoma, but I never got the issue in previous OSs.
@lbrobinho Thanks for letting me know. Do you know of anything else that might have changed with your system at the same time (like other apps that run in the background, etc)?
I have the same problem, but I found that you can get it working without a reboot, you just have to lock the screen (command + control + Q), then push escape to turn off the screen, and then you can just wake the mac again and rectangle will work.
macOS version: Monterey 12.0.1 Rectangle version: 0.49 (54) Logs if applicable (In Rectangle menu, hold option, "View Logging..."): Unable to obtain window id
After more than two years, this solution still works 👏👏