Closed
Bug 310194
Opened 19 years ago
Closed 19 years ago
Change events can get fired multiple times for preference elements
Categories
(Firefox :: Settings UI, defect)
Firefox
Settings UI
Tracking
()
RESOLVED
FIXED
People
(Reporter: mossop, Assigned: mossop)
Details
(Keywords: fixed1.8)
Attachments
(1 file)
|
1.97 KB,
patch
|
mconnor
:
review+
asa
:
approval1.8b5+
|
Details | Diff | Splinter Review |
In some situations since bug 308966 preference elements can receive change events twice for the same change and can also receive change events when no change has occured.
| Assignee | ||
Updated•19 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Comment 1•19 years ago
|
||
This changes the setter to check for an actual change of value before firing the event. It also moves the event fire to be in just one place to stop it getting called twice.
Attachment #197584 -
Flags: review?(mconnor)
Comment 2•19 years ago
|
||
Comment on attachment 197584 [details] [diff] [review] Cleanup event firing we should get this in on branch ASAP, this is a new widget we should get as clean as we can...
Attachment #197584 -
Flags: review?(mconnor) → review+
Comment 3•19 years ago
|
||
Trunk: mozilla/toolkit/content/widgets/preferences.xml; new revision: 1.41;
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Flags: blocking1.8b5?
Resolution: --- → FIXED
Updated•19 years ago
|
Attachment #197584 -
Flags: approval1.8b5?
Updated•19 years ago
|
Attachment #197584 -
Flags: approval1.8b5? → approval1.8b5+
Updated•19 years ago
|
Whiteboard: [checkin needed][a+]
Comment 5•19 years ago
|
||
I probably won't be able to check this in today. Asaf, do you mind checking this in on the branch?
| Assignee | ||
Comment 6•19 years ago
|
||
Forgot to mark this, timeless checked it in a short while ago.
Flags: blocking1.8b5?
Whiteboard: [checkin needed][a+] → fixed1.8
You need to log in
before you can comment on or make changes to this bug.
Description
•