2021-03-31 22:13 skrev Alexander G. M. Smith:
Certainly it has the advantage of doing "live" changes better. TheSome part do that today I think, don't remember if its to the server, but it should be.
server knows about the change (via a BMessage sent using the messaging
system) and can both update its operation and save it to a file.
The alternative system is for the server to monitor the settings fileYes thought of that to.
via the node monitoring facility (sends notification messages for
files you are interested in), and reread it whenever the file is
changed.
Which is the BeOS / Haiku way?Sending Message? I asked first ;)
Would the server restrict what went into the settings file, throwingGood question. The pref app will build the message to send, so it need to be of something that the server knows about. Can be that I but those BMessage stuff in the kitlib and both server and pref can use the same code?
out data it doesn't recognise? Is that good?
How would it handle previewing changes in the user interface. ConsiderReally good question. Also what would happend when the server don't run.
the example of changing desktop colours, with an undo to go back to
the original colours. Would all those changes during editing be
permanent ones, or only permanent when the user hits a Save button?