Open Bug 499105 Opened 15 years ago Updated 2 years ago

<scale> widget with min > 0 or max < 0 cannot be used to control a preference in a prefwindow

Categories

(Toolkit :: UI Widgets, defect)

defect

Tracking

()

People

(Reporter: mossop, Unassigned)

Details

Trying to use a scale widget in a prefwindow where you need to set a minimum value > 0 will overwrite the preference setting with that minimum when the window is opened. The problem is that the scale widget sets its value to the minimum in its constructor, this dispatches a change event which the prefpane catches and uses to set the preference value, before the prefwindow code has had a chance to tell the scale what its initial value really is.

To use a scale in a prefwindow you need to set preference-editable="true" on it, which we probably should fix too.
seems resolved in 1.9.1.2 (works for me)
I just ran into this in latest Firefox 4 nightly, so this is still a problem.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.