[GH-ISSUE #598] First config save defaults when closing app #356

Closed
opened 2026-02-28 14:32:25 +03:00 by kerem · 3 comments
Owner

Originally created by @marcfusch on GitHub (Apr 18, 2025).
Original GitHub issue: https://github.com/jpochyla/psst/issues/598

Describe the bug
When starting from a fresh config.json, after logging in / modifying settings, the config.json file resets if the app is closed normally (clicking the cross). After restarting, the app now loads the default config that was critten just before closure.

In order to save my settings, I have to force close the app / terminate process. Only after that, if I close the app normaly, the config.json stays the same.

Note: This affects everything from Theme to lastfm auth EXCEPT spotify auth.

To Reproduce

  • Start from fresh config
  • Play with settings
  • Close the app normally
  • Relaunch it

Expected behavior
The config should not be cleared after first modification if the app is closed normally

Environment

  • OS: macos Ventura
  • Version: 13.7.5

Additional context
I just built psst release from main after the merge of lastfm_wip and deleted my config file to try.

Originally created by @marcfusch on GitHub (Apr 18, 2025). Original GitHub issue: https://github.com/jpochyla/psst/issues/598 **Describe the bug** When starting from a fresh config.json, after logging in / modifying settings, the config.json file resets if the app is closed normally (clicking the cross). After restarting, the app now loads the default config that was critten just before closure. In order to save my settings, I have to force close the app / terminate process. Only after that, if I close the app normaly, the config.json stays the same. Note: This affects everything from Theme to lastfm auth EXCEPT spotify auth. **To Reproduce** - Start from fresh config - Play with settings - Close the app normally - Relaunch it **Expected behavior** The config should not be cleared after first modification if the app is closed normally **Environment** - OS: macos Ventura - Version: 13.7.5 **Additional context** I just built psst release from main after the merge of lastfm_wip and deleted my config file to try.
kerem 2026-02-28 14:32:25 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@future10se commented on GitHub (Apr 19, 2025):

Hi, I can confirm this happens to me too, with some differences in behavior. I always have to force quit for prefs to save.

I set up a new MacBook Air M1 with a fresh install of macOS Sequoia 15.2, and installed Psst from the latest auto-build in the README.

I logged in and set up the preferences via the GUI. Then, when quitting the app via ⌘Q, the settings are not saved.

Unlike @marcfusch, I was also logged out (spotify auth was not preserved). When force quitting via ⌘⌥⎋, settings are indeed saved.

Also unlike their situation, on my succeeding launches and "normal quits", preference changes are not saved (e.g. theme and album covers). I have to force quit for changes to persist, which is a little funny and counterintuitive.

Happy to provide any additional information if it helps.

<!-- gh-comment-id:2816863874 --> @future10se commented on GitHub (Apr 19, 2025): Hi, I can confirm this happens to me too, with some differences in behavior. I always have to force quit for prefs to save. I set up a new MacBook Air M1 with a fresh install of macOS Sequoia 15.2, and installed Psst from the latest auto-build in the README. I logged in and set up the preferences via the GUI. Then, when quitting the app via ⌘Q, the settings are not saved. Unlike @marcfusch, I was also **logged out** (spotify auth was not preserved). When force quitting via ⌘⌥⎋, settings are indeed saved. Also unlike their situation, on my succeeding launches and "normal quits", preference changes are **not saved** (e.g. theme and album covers). I have to **force quit** for changes to persist, which is a little funny and counterintuitive. Happy to provide any additional information if it helps.
Author
Owner

@jacksongoode commented on GitHub (Apr 20, 2025):

I believe this will be fixed by #602

<!-- gh-comment-id:2817064961 --> @jacksongoode commented on GitHub (Apr 20, 2025): I believe this will be fixed by #602
Author
Owner

@future10se commented on GitHub (Apr 20, 2025):

Yes, I can confirm this fixes the problem for me. Thank you for your work on Psst! <3

<!-- gh-comment-id:2817195015 --> @future10se commented on GitHub (Apr 20, 2025): Yes, I can confirm this fixes the problem for me. Thank you for your work on Psst! <3
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/psst#356
No description provided.