Closed
Bug 289136
Opened 19 years ago
Closed 17 years ago
Prefs dialog landing breaks preference locking
Categories
(Firefox :: Settings UI, defect, P1)
Firefox
Settings UI
Tracking
()
RESOLVED
FIXED
Firefox 3 alpha5
People
(Reporter: bzbarsky, Assigned: Gavin)
References
Details
(Keywords: fixed1.8)
Attachments
(2 files, 1 obsolete file)
2.81 KB,
patch
|
mtschrep
:
approval1.8b5+
|
Details | Diff | Splinter Review |
4.01 KB,
patch
|
mconnor
:
review+
|
Details | Diff | Splinter Review |
It looks like the prefs dialog landing added UI to about:config to unlock locked prefs. That rather defeats the purpose of having pref locking in the first place; we should either remove the about:config UI or remove preference locking altogether (and tell corporates who want it to enforce I/S policies "tough").
Comment 1•19 years ago
|
||
*** Bug 289128 has been marked as a duplicate of this bug. ***
Comment 3•19 years ago
|
||
We need to make sure that the ability to unlock prefs is not in an official release.
Flags: blocking-aviary1.1?
Updated•19 years ago
|
Flags: blocking-aviary1.1? → blocking-aviary1.1+
Updated•19 years ago
|
Attachment #179715 -
Flags: review?(bugs) → review?(timeless)
Comment 4•19 years ago
|
||
Comment on attachment 179715 [details] [diff] [review] Fix for problem This isn't the right way to address this, at leat not for 1.5. How about a pref to disable the menuitems, and that can be locked? That doesn't have an l10n impact, and lets developers continue to have a useful feature for testing prefpanels.
Attachment #179715 -
Flags: review?(timeless) → review-
Comment 5•19 years ago
|
||
This patch doesn't have to have l10n impact - I can just not change the DTD. As far as having a pref to remove locking of prefs - that just makes extra work for people trying to lock pref items. If we need this ability for developers, then it should be debug only or in some developer overlay.
Comment 6•19 years ago
|
||
developer convenience is no longer a serious concern, we should re-evaluate the patch.
Flags: blocking-aviary1.5+ → blocking1.8b5?
Comment 7•19 years ago
|
||
I'm starting to think that what we need to have is some sort of MOZ_OFFICIAL_RELEASE bit that we can use in the preprocessor so we can have things in nightlies that aren't in release builds. This is a good example, a random chunk of topsite testing as a link in a QA menu would be another. I'm fine with killing this on branch only, and leaving this open for a more balanced fix for the trunk.
Updated•19 years ago
|
Flags: blocking1.8b5?
Comment 8•19 years ago
|
||
Asa, why did you remove the blocking flag? This is a serious issue for corporate deployment.
Flags: blocking1.8b5?
Comment 9•19 years ago
|
||
sorry. I misread mconnor's comment and thought he said this was fixed on the branch. we definitely want this.
Flags: blocking1.8b5? → blocking1.8b5+
Comment 10•19 years ago
|
||
Comment on attachment 179715 [details] [diff] [review] Fix for problem r=me on simply removing the menuitems (no l10n impact) on branch only.
Attachment #179715 -
Flags: review- → review+
Assignee | ||
Comment 11•19 years ago
|
||
Might be a good idea to leave the functions there too, to make it easy for an extension to re-enable this.
Comment 12•19 years ago
|
||
which is why I specified removing the menuitems only.
Assignee | ||
Comment 13•19 years ago
|
||
Right, I just wanted to clarify, since there was mention of not touching the DTD, but no mention of not touching the JS file.
Comment 14•19 years ago
|
||
(In reply to comment #12) > which is why I specified removing the menuitems only. This might be outwith the scope of this bug, but maybe a good idea would be to have some sort of an unlockable Master Lock so that once triggered, any locked settings are perma-locked for the session. If an administrator sets up Firefox with a set of locked variables, then they do not want these to be overridden by an extension which sets different locked settings or re-enables this "Unlock" UI.
Assignee | ||
Comment 15•19 years ago
|
||
Assignee: bugs → gavin.sharp
Attachment #179715 -
Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #196719 -
Flags: approval1.8b5?
Comment 16•19 years ago
|
||
Comment on attachment 196719 [details] [diff] [review] remove menuitems (1.8 branch only) Per bug meeting - approved for 1.8b5.
Attachment #196719 -
Flags: approval1.8b5? → approval1.8b5+
Assignee | ||
Comment 17•19 years ago
|
||
1.8 Branch: mozilla/toolkit/components/viewconfig/content/config.js; new revision: 1.12.2.2; mozilla/toolkit/components/viewconfig/content/config.xul; new revision: 1.5.8.1;
Keywords: fixed1.8
Assignee | ||
Updated•19 years ago
|
Assignee: gavin.sharp → nobody
Status: ASSIGNED → NEW
Assignee | ||
Updated•19 years ago
|
Attachment #196719 -
Attachment description: remove menuitems → remove menuitems (1.8 branch only)
Comment 18•18 years ago
|
||
shouldn't this land on the trunk too?
Assignee | ||
Comment 19•18 years ago
|
||
(In reply to comment #18) > shouldn't this land on the trunk too? see comment 7
Reporter | ||
Comment 20•18 years ago
|
||
Well, we need to fix this by FF3. Too bad we have no flag for that.
Flags: blocking1.9a1?
Comment 21•18 years ago
|
||
sorry for bugspam, long-overdue mass reassign of ancient QA contact bugs, filter on "beltznerLovesGoats" to get rid of this mass change
QA Contact: mconnor → preferences
Reporter | ||
Updated•18 years ago
|
Flags: blocking1.9a1? → blocking1.9?
Updated•17 years ago
|
Flags: blocking-firefox3?
Comment 22•17 years ago
|
||
Personally, bug 352032 made me think the number of developers needing this to test pref locking approaches zero.
Target Milestone: Firefox1.5 → Firefox 3
Comment 23•17 years ago
|
||
Phil(In reply to comment #22) > Personally, bug 352032 made me think the number of developers needing this to > test pref locking approaches zero. > But wouldn't having this feature have made your testing of bug 352032 much easier?
Comment 24•17 years ago
|
||
Knowing that I was testing something that didn't work the way a release would, but still not entirely trusting that it wouldn't muck something up? No. I wouldn't check it in without testing it the way we release (other than by forgetting that I'd have to change something to make it like a release, which I would have done if I didn't start out fixing it for 1.8.1), and once I'd spent the five minutes creating a mozilla.cfg, they were spent. I'd say it's only useful to people doing a complete rewrite of the whole prefs dialog, of which we have two, one still active. How about it, Jeff - did you find that you needed to toggle prefs from locked to unlocked to locked to unlocked while doing your rewrite?
Updated•17 years ago
|
Assignee: nobody → gavin.sharp
Flags: blocking-firefox3? → blocking-firefox3+
Assignee | ||
Comment 25•17 years ago
|
||
I agree with Phil. Per discussion with mconnor we're just going to remove these completely on the trunk (and for Firefox 3).
Attachment #264392 -
Flags: review?(mconnor)
Updated•17 years ago
|
Attachment #264392 -
Flags: review?(mconnor) → review+
Assignee | ||
Updated•17 years ago
|
Whiteboard: [checkin needed]
Assignee | ||
Updated•17 years ago
|
Status: NEW → ASSIGNED
Priority: -- → P1
Target Milestone: Firefox 3 → Firefox 3 alpha5
Assignee | ||
Comment 26•17 years ago
|
||
mozilla/toolkit/components/viewconfig/content/config.js 1.22 mozilla/toolkit/components/viewconfig/content/config.xul 1.12 mozilla/toolkit/locales/en-US/chrome/global/config.dtd 1.10
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Whiteboard: [checkin needed]
Comment 27•17 years ago
|
||
(In reply to comment #24) > How about it, Jeff - did you find that you needed to toggle prefs from locked > to unlocked to locked to unlocked while doing your rewrite? For the record, no. The preference binding handles this automagically, I believe; also, I was far less concerned about preference locking than I was about just getting the functionality right, so I didn't put that much effort into making sure locked prefs worked correctly.
Updated•17 years ago
|
Flags: in-testsuite-
You need to log in
before you can comment on or make changes to this bug.
Description
•