Closed Bug 412316 Opened 17 years ago Closed 17 years ago

Prevent users shooting their feet off in the preference window

Categories

(Other Applications :: ChatZilla, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bugzilla-mozilla-20000923, Assigned: bugzilla-mozilla-20000923)

Details

(Whiteboard: [cz-0.9.81])

Attachments

(1 obsolete file)

Particularly with logging, but also some other settings, users keep doing things in the preference window that they really shouldn't, and we need to stop them. All the /pref and co. commands will still work, but hiding the options and making some things read-only will help.

I propose hiding the following prefs:
  logFileName (full path)
  logFile.* (formatting of filenames)

This will leave just log (enabled option) and logFolder for Global Settings, and just log for all other views.
I've hidden a few other prefs, like "multiline" and "outputWindowURL" which are really not meant to be exposed to the user. Things like "activityFlashDelay" probably shouldn't even be prefs, generally speaking, either.
Attachment #297939 - Flags: review?(gijskruitbosch+bugs)
Status: NEW → ASSIGNED
Comment on attachment 297939 [details] [diff] [review]
[checked in] Hide logging and other prefs

r=gijs
Attachment #297939 - Flags: review?(gijskruitbosch+bugs) → review+
Whiteboard: [cz-0.9.81]
Comment on attachment 297939 [details] [diff] [review]
[checked in] Hide logging and other prefs

Checked in.

May come up with some more changes, may not.
Attachment #297939 - Attachment is obsolete: true
(In reply to comment #1)
> Created an attachment (id=297939) [details]
> Hide logging and other prefs
> 
> I've hidden a few other prefs, like "multiline" and "outputWindowURL" which are
> really not meant to be exposed to the user. Things like "activityFlashDelay"
> probably shouldn't even be prefs, generally speaking, either.
> 

How do I change my output window of choice now? That'd be a command line?
Yes, all the preferences are still accessible via /pref, /network-pref, etc., we're just stopping the casual user from doing something silly. :)
Attachment #297939 - Attachment description: Hide logging and other prefs → [checked in] Hide logging and other prefs
I think I'm done here. I can't see anything else that users would cause major problems with if they unknowingly edited.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: