Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Preference Robustness

SuezanneC Baskerville
Forums Rock!
Join date: 22 Dec 2003
Posts: 14,229
10-22-2006 20:20
The preference setting and storing system we have is very inconsistent, bug-ridden and delicate.

Anytime something requires an uninstall and reinstall, which is needed all too often, you have to set your preferences again.

I've been here almost three years now. From the time I first learned how to stop the mini-map from rotating till now and till I die I don't want to have the mini-map rotate. I don't enjoy telling Second Life over and over and over that I don't want the mini-map to rotate. I'd like this stored permanently in the same way that my account name, key, linden balance, and other information considered important by Linden Lab is stored.

The system for setting the preferences that aren't built in to the preferences dialog - the Client Debug Settings - is bug riddled and inconsistent in it's behavior. One example of a bug is the HtmlHelpHomePage behavior, which should have an url in it; when you change it's value the properly formatted url that you entered gets changed to true, when then gets interpreted as www.true.com. An example of inconsistency in behavior is the difference in the way that adjusting the FocusOffsetDefault and CameraOffsetDefault works, one changes in real-time, the other doesn't work properly, but in addition doesn't take effect witout closing and restarting SL.

Lately a bug was inroduced such that an ampersand in one's Busy message caused SL to reject the entire setting.xml file and use default settings for everything, such as, for example, whether to rotate the mini-map. The preference storage and reading system needs to be written in such a way that a flaw in one setting causes only that setting to revert to default, not the whole set of preferences.

I've never seen a mainstream, broadly distributed program written by professionals deal so badly with something as simple and important as setting and storing one's customized preferences.
_____________________
-

So long to these forums, the vBulletin forums that used to be at forums.secondlife.com. I will miss them.

I can be found on the web by searching for "SuezanneC Baskerville", or go to

http://www.google.com/profiles/suezanne

-

http://lindenlab.tribe.net/ created on 11/19/03.

Members: Ben, Catherine, Colin, Cory, Dan, Doug, Jim, Philip, Phoenix, Richard,
Robin, and Ryan

-
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
10-23-2006 14:49
From: SuezanneC Baskerville
I've never seen a mainstream, broadly distributed program written by professionals deal so badly with something as simple and important as setting and storing one's customized preferences.
I think you mean "other than Microsoft Windows, I've never..."? Every time I install Windows or set up a new account I have to go in and change my preferences by hand. Saving the appropriate sections of the registry and restoring them is a task fraught with peril, because (a) they're distributed all over the registry tree, and (b) many contain references to GUIDs that are different for every account. There are some things, like changing the location of my home directory to something other than the system disk, that I have never been able to reliably manage.

I don't know that I'll give LL a "pass" here, they should have a single wrapper for reading and writing XML, and they've made the same mistake in their CSV calls in LSL... llCSV2List(llList2CSV(list_of_strings)) should always produce the same list it started with, byte for byte.

But at least you *can* edit the configuration. There's much much worse out there, and Windows isn't even at the top of the list. Try editing some Java XML config files some time.