Open XComputerDavidX opened 7 months ago
Thanks for reporting. As a sanity check, do you have another window manager that might have launched on login upon restart?
Are there any logs? Hold the option key in the menu bar menu and select View Logging...
Thanks for reporting. As a sanity check, do you have another window manager that might have launched on login upon restart?
Are there any logs? Hold the option key in the menu bar menu and select View Logging...
No there aren't any windows manager that I installed Here is the logging result 2023-11-29T09:04:50Z: Unable to obtain the accessibility element with the specified attribute at mouse location
I have tried to uninstall and reinstall with accessability on and off, even restarted a few times but still doesn't work
I'm wondering, is it broken for all apps (e.g. Finder) or only some of them (e.g. Adobe Acrobat Reader)?
I'm wondering, is it broken for all apps (e.g. Finder) or only some of them (e.g. Adobe Acrobat Reader)?
It is all not working for some reason, and I am pretty sure I gave all the accessibility power to rectangle
At the root of this is the Accessibility API that Rectangle relies on for obtaining and setting window sizes/positions. This is typically seen only with specific apps (typically Chrome/Electron based), and is often resolved by restarting the app that it's not working on. You can try quitting Rectangle then resetting the accessibility permissions for Rectangle using this command:
tccutil reset All com.knollsoft.Rectangle
Unfortunately, this type of scenario tends to be an issue on the macOS side, and there isn't anything else I can do in Rectangle to work around it.
Thank you so much, I tried your method and it worked again, hope every developer is just like you who is always there to help
Hey, I've tried the command, and sadly it did not allow me to snap windows again. I have also restarted and reinstalled the application.
I never had other window manager installed. I'm running macOS Sonoma 14.1.1 The Logs are empty.
@raiden-e Sometimes after a macOS update, you have to restart your Mac one more time for the accessibility API to work properly with 3rd party apps.
Which of these still don't work for you? keyboard shortcuts, menu bar menu items, or drag to screen edge snapping
@rxhanson Done. For some reason, the snapping doesn't work for any of my windows. Keyboard shortcuts and the rest are fine. Snapping is enabled in the settings.
@raiden-e, you can try this terminal command to adjust how Rectangle obtains clicks:
defaults write com.knollsoft.Rectangle systemWideMouseDown -int 1
Then restart the app.
If that doesn't change anything, then we're looking at something external to Rectangle potentially causing issues.
That seemed to work. But it seems to be abnormal. Does this indicate anything about my computer? (Im new to mac)
@raiden-e, you can try this terminal command to adjust how Rectangle obtains clicks:
defaults write com.knollsoft.Rectangle systemWideMouseDown -int 1
Then restart the app.
If that doesn't change anything, then we're looking at something external to Rectangle potentially causing issues.
Solved it for me. Thank you!
@raiden-e, I don't know what would cause this for you. There are different ways to figure out which window is under the cursor, and that Terminal command enables the way that Rectangle used to do it, which was fine for many years. The problem with that way is that it can cause issues with clicks not registering properly in certain apps in macOS Sonoma, but odds are that you won't have that happen.
I'm having a problem on after upgrading to Sonoma as well. Seems to only affect custom window sizes. Whether I try to use the menu or a hotkey, it just makes an error sound when I try to use a custom resize. Accessibility and screen recording are enabled. Rectangle Pro was installed before I upgraded to Sonoma
If I wanted to revert this, can I just set
defaults write com.knollsoft.Rectangle systemWideMouseDown -int 0
?
Yes, or defaults delete com.knollsoft.Rectangle systemWideMouseDown
@raiden-e, you can try this terminal command to adjust how Rectangle obtains clicks:,您可以尝试以下终端命令来调整 Rectangle 获取点击的方式:
defaults write com.knollsoft.Rectangle systemWideMouseDown -int 1默认写入 com.knollsoft.Rectangle systemWideMouseDown -int 1
Then restart the app.然后重新启动应用程序。
If that doesn't change anything, then we're looking at something external to Rectangle potentially causing issues.如果这没有改变任何东西,那么我们正在寻找 Rectangle 外部可能导致问题的东西。
Solved it for me. Thank you!
@raiden-e Sometimes after a macOS update, you have to restart your Mac one more time for the accessibility API to work properly with 3rd party apps.
Which of these still don't work for you? keyboard shortcuts, menu bar menu items, or drag to screen edge snapping
Thank you. Nothing was working but after a restart it solved for me.
My rectangle also stopped working. Restarting alone didn't help.
I ran:
tccutil reset All com.knollsoft.Rectangle
and
tccutil reset All com.knollsoft.Rectangle
as recommended by @rxhanson.
Restarting, walking through the setting-up steps (that you have to walk through when first installing rectangle) and it works again! Thank you, @rxhanson!
I'm having a problem on after upgrading to Sonoma as well. Seems to only affect custom window sizes. Whether I try to use the menu or a hotkey, it just makes an error sound when I try to use a custom resize. Accessibility and screen recording are enabled. Rectangle Pro was installed before I upgraded to Sonoma
Ok I was wrong. I also had changed monitors to a slightly smaller resolution and when an older rectangle custom size & position settings asks for an "impossible" setting on the current monitors, it just appears to do nothing.
It would be very helpful if it put up a message that the settings are not possible on the monitor.
defaults write com.knollsoft.Hookshot systemWideMouseDown -int 1
https://github.com/rxhanson/RectanglePro-Community/issues/393#issuecomment-1944258761
This solved it for me, no other combination of commands, resets and reinstalls.
defaults write com.knollsoft.Hookshot systemWideMouseDown -int 1
rxhanson/RectanglePro-Community#393 (comment)
This solved it for me, no other combination of commands, resets and reinstalls.
This solved it for me once, but now it it started not responding again and this does not help. I can however move Rectangle's own window with defined shortcut keys. Running macOS 14.4.1 (23E224).
@guycalledseven Did you try the following?
tccutil reset All com.knollsoft.Rectangle
@rxhanson thanks, restart fixed it. 👌
macOS version: Sonoma
I downloaded rectangle just today, I was all smooth until I restarted my Macbook because the RAM was running high and I want to clear it in this way. But after the restart, the application will still launch but I can not use the "Snap windows by dragging" feature, it still won't work after a few dozen of restarts. What is interesting is that it will work for a few times just after restart, but after a min, it stops working. Is someone experiencing the same issue like me?