Closed Bug 506901 Opened 15 years ago Closed 15 years ago

preference advanced pane not updated on init

Categories

(Firefox :: Settings UI, defect)

3.5 Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
status1.9.1 --- .4-fixed

People

(Reporter: wolfiR, Assigned: wolfiR)

Details

(Keywords: verified1.9.1)

Attachments

(1 file, 1 obsolete file)

http://mxr.mozilla.org/mozilla1.9.1/source/browser/components/preferences/advanced.js#43

The pref "browser.preferences.advanced.selectedTabIndex" is unset with a fresh profile and therefore the init() function is left without doing the UI update stuff below:

64 #ifdef MOZ_UPDATER
65     this.updateAppUpdateItems();
66     this.updateAutoItems();
67     this.updateModeItems();
68 #endif
69     this.updateOfflineApps();

I've noticed since Firefox shows the checked/enabled "Firefox" update while it isn't supposed to (update not possible because of a non-writable install location).
Proposed patch upcoming
Attached patch patch (obsolete) — Splinter Review
Assignee: nobody → mozilla
Status: NEW → ASSIGNED
Attachment #391069 - Flags: review?(gavin.sharp)
How about just removing the "return;" and reversing the condition instead?
Attached patch patch #2Splinter Review
Attachment #391069 - Attachment is obsolete: true
Attachment #391069 - Flags: review?(gavin.sharp)
Attachment #391131 - Flags: review?(gavin.sharp)
Attachment #391131 - Flags: review?(gavin.sharp) → review+
http://hg.mozilla.org/mozilla-central/rev/eba3f86ba79c
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Attachment #391131 - Flags: approval1.9.1.3?
Comment on attachment 391131 [details] [diff] [review]
patch #2

Minor bugfix but with almost no risk (and interesting for Linux distributors shipping in non-writable locations)
Comment on attachment 391131 [details] [diff] [review]
patch #2

Too late for .3, moving to .4
Attachment #391131 - Flags: approval1.9.1.3? → approval1.9.1.4?
Comment on attachment 391131 [details] [diff] [review]
patch #2

Approved for 1.9.1.4, a=dveditz for release-drivers
Attachment #391131 - Flags: approval1.9.1.4? → approval1.9.1.4+
Verified by examining code for 1.9.1.4.
Keywords: verified1.9.1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: