Defaults not set from preferences in Page Colors and Backgrounds dialog

UNCONFIRMED
Unassigned

Status

()

Core
Editor
UNCONFIRMED
10 years ago
10 years ago

People

(Reporter: Rod Whiteley, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

10 years ago
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
You need to log in before you can comment on or make changes to this bug.