Open Bug 425545 Opened 16 years ago Updated 3 years ago

Defaults not set from preferences in Page Colors and Backgrounds dialog

Categories

(Core :: DOM: Editor, defect, P5)

x86
Windows XP
defect

Tracking

()

UNCONFIRMED

People

(Reporter: rod.whiteley, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b5pre) Gecko/2008032602 Thunderbird/3.0a1pre

Preference settings for page colors do not set the defaults in the Page Colors and Backgrounds dialog.  Instead, the hard coded page colors are always used.

Also in: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13) Gecko/20080313 SeaMonkey/1.1.9

Reproducible: Always

Steps to Reproduce:
1. Set a page color preference--for example: browser.anchor_color
2. Write a new message or open Composer.
3. Choose: Format - Page Colors and Background
Actual Results:  
The value you set does not affect the color you see in the dialog.

Expected Results:  
The dialog should open showing the current colors.

This happens because the initial values are declared as const: http://lxr.mozilla.org/seamonkey/source/editor/ui/dialogs/content/EdColorProps.js#55

So when the preference settings are applied, nothing happens: http://lxr.mozilla.org/seamonkey/source/editor/ui/dialogs/content/EdColorProps.js#119

Bulk-downgrade of unassigned, >=5 years untouched DOM/Storage bugs' priority.

If you have reason to believe this is wrong (especially for the severity), please write a comment and ni :jstutte.

Severity: normal → S4
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.