sfsam / Itsycal

Itsycal is a tiny calendar for your Mac's menu bar. http://www.mowglii.com/itsycal
MIT License
3.25k stars 234 forks source link

Losing settings on MacOS shutdown or restart #236

Closed ncasdpo closed 2 months ago

ncasdpo commented 6 months ago

I have an M1 MacBook. All Itsycal appearance settings are lost on a restart.

This is what my Itsycal calendar normally looks like:

Screenshot 2023-12-13 at 19 52 13

Below is what it looks like after MacBook restarts after a shutdown. Appearance settings that have been lost include font size, menu bar icon styling and the show month/day of week in icon settings.

Screenshot 2023-12-13 at 19 54 55
ncasdpo commented 2 months ago

@sfsam Just bumping in case you haven't seen this. I keep having to re-change appearance settings on every restart, don't know if this is something you are seeing on your own machine?

sfsam commented 2 months ago

@ncasdpo I'm afraid I cannot replicate this. Itsycal doesn't do anything special for its settings. It uses the standard Mac User Defaults system to store these values. The Mac usually stores these settings under ~/Library/Preferences. For Itsycal specifically, the file would be ~/Library/Preferences/com.mowglii.ItsycalApp.plist. Can you see that file on your system?

ncasdpo commented 2 months ago

@sfsam This is fixed now, thank you for your help. ~/Library/Preferences/com.mowglii.ItsycalApp.plist was an empty file, so I uninstalled Itsycal & then deleted the file (previously an uninstall of Itsycal by itself hadn't solved the problem). After reinstall, settings are no longer lost on restart