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

NEW
Unassigned

Status

()

4 years ago
4 years ago

People

(Reporter: darktrojan, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

243 bytes, application/vnd.mozilla.xul+xml
Details
(Reporter)

Description

4 years ago
Created attachment 8580334 [details]
progress.xul

The progress bar updates its position as often as possible using requestAnimationFrame. Should CSS animation be used instead?
(Reporter)

Updated

4 years ago
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.
(Reporter)

Comment 3

4 years ago
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
You need to log in before you can comment on or make changes to this bug.