Re: Settings of screen saver not persistent - again

2025-04-18 Thread Gabriel Zachmann via Cocoa-dev
> > Looking at my code to handle the OK and Cancel actions for the config sheet, > I still have these calls from way back: > > [defaults synchronize]; // It says this isn't needed, but it sure seems to be > for a screensaver pref, This is what I do once the user clicks OK: [defaults_ setObject

Re: Settings of screen saver not persistent - again

2025-04-18 Thread Steve Mills via Cocoa-dev
On Apr 18, 2025, at 06:32, Gabriel Zachmann via Cocoa-dev 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 legacyScreenSave