On Apr 18, 2025, at 06:32, Gabriel Zachmann via Cocoa-dev 
<cocoa-dev@lists.apple.com> wrote:
> 
> 
> This is what I do once the user clicks OK:
> 
> [defaults_ setObject: monitor_user_prefs forKey: displayName_];
> [defaults_ synchronize];                          

The only thing I can think of is that, if legacyScreenSaver is still running an 
old instance of your screensaver (which you've learned can now happen), it is 
somehow caching the special screensaver defaults objects and values, so it 
doesn't read from disk the next time you invoke it. Here's what you should try:

1. Make sure legacyScreenSaver is not running in Activity Monitor. Quit/kill it 
if it is.
2. Open the System Prefs and change your screensaver's prefs.
3. Run it to see if the changes are kept.

--
Steve Mills
Drummer, Mac geek

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to