Open Bug 1145406 Opened 9 years ago Updated 2 years ago

XUL <progressmeter mode="undetermined"/> causes high CPU usage

Categories

(Toolkit :: UI Widgets, defect)

x86_64
Linux
defect

Tracking

()

People

(Reporter: darktrojan, Unassigned)

Details

Attachments

(1 file)

243 bytes, application/vnd.mozilla.xul+xml
Details
Attached file progress.xul
The progress bar updates its position as often as possible using requestAnimationFrame. Should CSS animation be used instead?
No longer blocks: 1003664
Is this Linux only?

All of the binding code in _init should probably be removed and we should just be using the native theme rendering instead. It doesn't look like that's hooked up using -moz-appearance on Linux.
(In reply to Neil Deakin from comment #1)
> Is this Linux only?

The problem in bug 1003664 doesn't manifest itself in other platforms, so I'd say yes.
It looks like Linux is the only one to use this binding (apart from addon manager code on OS X for some reason):

https://mxr.mozilla.org/mozilla-central/search?string=bindings%2Fprogressmeter
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: