Closed Bug 21639 Opened 25 years ago Closed 25 years ago

Progress meter paints three times for each update

Categories

(Core :: XUL, defect, P3)

All
Mac System 8.5
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: sfraser_bugs, Assigned: eric)

Details

Attachments

(1 file)

The progress meter frame is ignoring the aWhichLayer parameter to its paint
method, so is drawing three times too often.
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.
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.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Fix checked in
QA Contact: claudius → sairuh
Status: RESOLVED → VERIFIED
marking verified...
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: