Open Bug 425545 Opened 13 years ago

Defaults not set from preferences in Page Colors and Backgrounds dialog


(Core :: DOM: Editor, defect)

Windows XP
Not set





(Reporter: rod.whiteley, Unassigned)


User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20080311 Firefox/
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: 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:

So when the preference settings are applied, nothing happens:
You need to log in before you can comment on or make changes to this bug.