Closed
Bug 21639
Opened 26 years ago
Closed 26 years ago
Progress meter paints three times for each update
Categories
(Core :: XUL, defect, P3)
Tracking
()
VERIFIED
FIXED
People
(Reporter: sfraser_bugs, Assigned: eric)
Details
Attachments
(1 file)
|
1.26 KB,
patch
|
Details | Diff | Splinter Review |
The progress meter frame is ignoring the aWhichLayer parameter to its paint
method, so is drawing three times too often.
| Reporter | ||
Comment 1•26 years ago
|
||
| Reporter | ||
Comment 2•26 years ago
|
||
This diff changes teh Paint() method to only paint the progress bar when we're
painting the foreground layer.
I'd also suggest that ANIMATION_SPEED should be increased from 50 ms to something
more reasonable like 200 ms, to avoid spending lots of time drawing the progress
meter.
Comment 3•26 years ago
|
||
patch looks good, i agree with the ANIMATION_SPEED constant. My only question is
200ms still too fast?
Check it in if you want. r=pinkerton.
| Reporter | ||
Updated•26 years ago
|
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 4•26 years ago
|
||
Fix checked in
Updated•26 years ago
|
QA Contact: claudius → sairuh
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
Comment 5•26 years ago
|
||
marking verified...
You need to log in
before you can comment on or make changes to this bug.
Description
•