rxhanson / Rectangle

Move and resize windows on macOS with keyboard shortcuts and snap areas
https://rectangleapp.com
Other
25.1k stars 741 forks source link

Rectangle doesn't start (crashes?) on Sonoma 14.4.1 #1355

Closed dimaslivin-ct closed 2 months ago

dimaslivin-ct commented 3 months ago

macOS version: Sonoma 14.4.1 Rectangle version: 0.79 Logs if applicable (In Rectangle menu, hold option, "View Logging..."):

After launching the app the Rectangle icon shows up for a fraction of a second in the menu bar and then goes away. Stopped working right after applying the Sonoma 14.4.1 update. Before that there were no issues launching and running Rectangle.

rxhanson commented 3 months ago

There should be a crash report in the Console app for Rectangle. Please attach that here.

dimaslivin-ct commented 2 months ago

There are no crash reports unfortunately. Nothing related to Rectangle anywhere. Is there any way to debug it? Launch from the terminal in a "verbose" mode?

rxhanson commented 2 months ago

Thanks for the update. This is an unusual scenario. Next, try deleting the preferences with this Terminal command.

defaults delete com.knollsoft.Rectangle

Then try launching the app again.

dimaslivin-ct commented 2 months ago

Still the same behavior after deleting the preferences. No crash report either.

rxhanson commented 2 months ago

I think this might be an Accessibility permissions bug. Try these steps to reset the Accessibility permissions.

  1. Quit Rectangle
  2. execute this command
    tccutil reset All com.knollsoft.Rectangle
  3. Restart your Mac
  4. Launch Rectangle again and give it Accessibility permissions again.

The restart step could be unnecessary, but sometimes there can be some macOS quirks with Accessibility permissions right after an update, and its best to restart your Mac one more time after the update.

dimaslivin-ct commented 2 months ago

This was indeed an accessibility permission issue. After reassigning the permissions it all works again. You have my huge thanks.

P.S. That 14.4.1 update broke a lot of things here. Logitech options + for example.

cagostino commented 1 month ago

@rxhanson your suggestion fixed my issue here too. thanks for sharing.