Preferences updated through the console or through script? The GUI isnt the only thing that can modify those variables
Yeah, this. I had some complaints when we
didn't include this and implemented it per popular request.
I think RTB got around this by sending all the variables each time the GUI is opened. We send them as they're changed and keep them cached on the client, meaning we need to actively listen for changes.
I believe New Duplicator actually utilizes this when the "Reset Prefs" pref is used and the variables are all directly changed instead of utilizing the preference system. This pretty much all lies in backwards compatibility with stuff imported from RTB and not designed around the preference system.
Granted, the preference system is largely undocumented, so developing with it in mind is particularly difficult. I'll work on documentation for Glass as a whole in the next month or two.
This friend request is still stuck there.
I'll give it a look.