Closed Bug 503485 Opened 16 years ago Closed 13 years ago

Undetermined Progressmeter hide/show toggle breaks animation

Categories

(Core :: XUL, defect)

x86
Windows NT
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: tommy2d, Unassigned)

Details

Attachments

(1 file)

540 bytes, application/vnd.mozilla.xul+xml
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; nl; rv:1.9.1) Gecko/20090624 Firefox/3.5 (.NET CLR 3.5.30729) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; nl; rv:1.9.1) Gecko/20090624 Firefox/3.5 (.NET CLR 3.5.30729) When you dynamicly create a progressmeter, set it to hidden and then show it again, the animation stops and you won't be able to start it again. I think tried to debug the progressmeter.xml binding and it appears the settimeout loop stops working when toggling. Reproducible: Always Steps to Reproduce: 1. Dynamicly add Progressmeter with createElement and appendChild 2. hidden = true 3.hidden = false; Actual Results: Voila, animation stops Expected Results: Animation should show up again, just like in 1.9.0 I tried several builds, the problem doesnt appear on 1.9.0 but does appear on 1.9.1 and 1.9.2 aplha2.
Attached file Testcase1
This window.xul illustrated the problem i'm having with undetermined progressmeters in xulrunner 1.9.1 and 1.9.2.
Component: General → XUL
Product: Firefox → Core
QA Contact: general → xptoolkit.widgets
Version: unspecified → Trunk
UPDATE: Testcase1 is working when calling setAttribute() so more factors are involled. I'll try to create an updated testcase as soon as i'm able to determine what exactly makes the progressmeter fail in our framework.
(In reply to Tom Peeters from comment #2) > UPDATE: Testcase1 is working when calling setAttribute() so more factors are > involled. I'll try to create an updated testcase as soon as i'm able to > determine what exactly makes the progressmeter fail in our framework.
Flags: needinfo?(tommy2d)
Can't reproduce (anymore). Haven't been able to make a testcase.
Flags: needinfo?(tommy2d)
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: