rxhanson / Rectangle

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

Preferences not being saved/loaded in macOS 14 Beta 1 #1165

Open scottrobertson opened 1 year ago

scottrobertson commented 1 year ago

macOS version: 14 Dev Beta 1 Rectangle version: 0.68 Logs if applicable (In Rectangle menu, hold option, "View Logging..."): (It's empty)


Upgraded to macOS 14 dev beta 1, and it seems like all my settings have been wiped for Rectangle. This is ok, and i can restore the JSON backup. However, these settings never persist across reboots.

I have noticed this too, which may explain it?

❯ defaults read com.knollsoft.Rectangle
Domain com.knollsoft.Rectangle does not exist

Let me know what i can do to help debug this.

scottrobertson commented 1 year ago

Note: I am using mackup

rxhanson commented 1 year ago

Thanks for reporting.

Note: I am using mackup

This is likely what is causing the issue. Rectangle isn't doing anything weird regarding NSUserDefaults, and it is highly unlikely that Apple would ship a beta that would have issues with NSUserDefaults.

I would dig into it to know for sure, but I typically don't install macOS betas unless there is most certainly something I need to figure out (for example, Stage Manager in Ventura).

scottrobertson commented 1 year ago

It is worth noting that i have ran mackup + rectangle for years, without issue. But yeah, it may be doing some odd things. I could try a full reinstall, but i will wait unless i can be helpful replicating it etc.

scottrobertson commented 1 year ago

Ok, so Bartender is also losing it's settings on reboot, so it's not just Rectangle. Suggests something of a wider issue. The native keyboard shortcut settings are also being reset on reboot. So it may be an actual macOS issue. Fun times! I will let you close this if you feel like forgetting about it forever ha.

rxhanson commented 1 year ago

Thanks for the follow up. I'll keep this one open so that other people will not create new issues for it. If we are looking at an Apple issue, it might be worth your time to go ahead and report it to Apple using the Feedback Assistant app. I suspect that if it is indeed an Apple issue that it would be fixed in the next beta. If it starts to look like something that should be addressed in Rectangle in some way, I'll install the beta and see what I can do.

scottrobertson commented 1 year ago

Have reported it already, yes. Along with a separate one about keyboard shortcut settings resetting (which may be related to be honest...)

Thank you!