Closed Bug 266459 Opened 20 years ago Closed 20 years ago

Progressmeter undetermined does not work on above URL

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: iannbugzilla, Assigned: garyvdm)

References

()

Details

(Keywords: regression)

Attachments

(4 files, 2 obsolete files)

Using BuildID 2004102407 on WinXP SP2
Steps to reproduce
1. Go to above URL
2. Look at progress meter

Expected result
1. Progress bar oscilates

Actual result.
1. No progress bar oscilating

Reasoning (I think)
Moving the progressmeter-undetermined css stuff from global.css to
progressmeter.css has caused this problem, see version 1.1.2.3
http://bonsai.mozilla.org/cvslog.cgi?file=mozilla/toolkit/themes/qute/global/progressmeter.css&rev=AVIARY_1_0_20040515_BRANCH
This is on aviary branch, works fine on trunk
Version: unspecified → 1.0 Branch
Notice that the trunk is an xul:stack containing one xul:spacer whereas the
branch has no xul:stack and two xul:spacers
Reversing the checkin on 2004-08-16 11:29 to the branch fixes the problem, the
checkin comment was:
More improvements for Thunderbird's undetermined progressmeter. Move the xbl
binding out of content and into a theme css file. This keeps OSX and 3rd party
themes that have their own undetermined progressmeter stuff working.
Putting the following back in xul.css fixes the problem:
progressmeter[mode="undetermined"] {
  -moz-binding:
url("chrome://global/content/bindings/progressmeter.xml#progressmeter-undetermined");
}

I guess this is something to do with the order the various style sheets are seen.
On trunk it is:
* from xul.css
progressmeter from xul.css
progressmeter[mode=undetermined] from xul.css
progressmeter from progressmeter.css
.progressmeter-statusbar from progressmeter.css

On branch it is:
* from xul.css
progressmeter from xul.css
progressmeter from progressmeter.css
.progressmeter-statusbar from progressmeter.css
progressmeter[mode=undetermined] from progressmeter.css
This has now made it onto the trunk
Keywords: aviary-landing
Version: 1.0 Branch → Trunk
Flags: blocking-aviary1.1?
Please see Bug 226491 Comment 41
Attached file Testcase
Move binding from progressmeter.css to global.css
Assignee: firefox → garyvdm
Status: NEW → ASSIGNED
Attachment #176938 - Flags: review?(mscott)
Attached patch Patch v0.1 (obsolete) — Splinter Review
oops - I uploaded my testcase rather than my patch
Attachment #176938 - Attachment is obsolete: true
Attachment #176939 - Flags: review?(mscott)
Attachment #176938 - Flags: review?(mscott)
Attachment #176938 - Attachment description: Patch v0.1 → Testcase
Attachment #176938 - Attachment is obsolete: false
Attachment #176938 - Attachment is patch: false
Attachment #176938 - Attachment mime type: text/plain → text/xml
Comment on attachment 176939 [details] [diff] [review]
Patch v0.1

Don't forget qute as well and all you are doing is reversing the checkin made
2004-08-16 11:29 see comment 5 for details.
http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=all&branch=&branchtype=match&dir=&file=&filetype=match&who=scott%25scott-macgregor.org&whotype=match&sortby=Date&hours=2&date=explicit&mindate=2004-08-16+11%3A29&maxdate=2004-08-16+11%3A29&cvsroot=%2Fcvsroot

Scott moved the binding from 
"mozilla/toolkit/content/xul.css"
to
"mozilla/toolkit/themes/winstripe/global/progressmeter.css"

and I'm moving it to 
"mozilla/toolkit/themes/winstripe/global/global.css"

Hence, the binding is found in the theme files, which means that it meet the
requirements of his original change.
Sorry, I mis-read the patch, but my first point still stands - you also need to
do it for the qute theme don't you?
Attached patch Patch v0.2 (obsolete) — Splinter Review
Now with changes to qute theme too.

P.S. Where dose 'qute' get used?
Attachment #176939 - Attachment is obsolete: true
Attachment #176958 - Flags: review?(mscott)
Attachment #176958 - Attachment is obsolete: true
Attachment #176958 - Flags: review?(mscott)
Attachment #176939 - Flags: review?(mscott)
Attachment #176958 - Attachment is obsolete: false
Attachment #176958 - Flags: review?(mscott)
Attachment #176958 - Flags: review?(mscott) → review?(mconnor)
(In reply to comment #14)
 
> P.S. Where dose 'qute' get used?

Thunderbird
Attachment #176958 - Flags: review?(mconnor) → review+
Attachment #176958 - Flags: superreview?(neil.parkwaycc.co.uk)
Attachment #176958 - Flags: approval-aviary1.1a?
Comment on attachment 176958 [details] [diff] [review]
Patch v0.2

sr isn't required for toolkit, right?
Attachment #176958 - Flags: superreview?(neil.parkwaycc.co.uk)
Oh - I did not know that. How do I get this checked in? I don't have cvs access.
Comment on attachment 176958 [details] [diff] [review]
Patch v0.2

a=asa
Attachment #176958 - Flags: approval-aviary1.1a? → approval-aviary1.1a+
(In reply to comment #17)
>How do I get this checked in? I don't have cvs access.
Now that you have approval, Ian Neal might do it for you if you ask him nicely.
Checking in qute/global/global.css;
/cvsroot/mozilla/toolkit/themes/qute/global/global.css,v  <--  global.css
new revision: 1.5; previous revision: 1.4
done
Checking in qute/global/progressmeter.css;
/cvsroot/mozilla/toolkit/themes/qute/global/progressmeter.css,v  <-- 
progressmeter.css
new revision: 1.6; previous revision: 1.5
done
Checking in winstripe/global/global.css;
/cvsroot/mozilla/toolkit/themes/winstripe/global/global.css,v  <--  global.css
new revision: 1.7; previous revision: 1.6
done
Checking in winstripe/global/progressmeter.css;
/cvsroot/mozilla/toolkit/themes/winstripe/global/progressmeter.css,v  <-- 
progressmeter.css
new revision: 1.6; previous revision: 1.5
done
Attachment #176958 - Attachment is obsolete: true
Tested on Beast Build. ->Fixed
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Keywords: aviary-landing
Flags: blocking-aviary1.1?
The following testcases work for me in Firefox 1.0.4:
https://bugzilla.mozilla.org/attachment.cgi?id=176938
http://neil.rashbrook.org/pyeximon.xul

However, I have an extension that has a progress dialog. I put a simple
undetermined progress meter in there, and it doesn't work. The line does not
move. Code is just:

<hbox>
  <label id="pbarLabel" value="&progressprogress.label;"/>
  <progressmeter mode="undetermined"/>
</hbox>

Tried also with a trunk build of Thunderbird, but no go.

I'm pulling global.css into the window using it.

Any ideas?
Testcase: http://neil.rashbrook.org/pyeximon.xul

Verified FIXED using trunk build of SeaMonkey 1.5a;Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060104 Mozilla/1.0
Status: RESOLVED → VERIFIED
Note: my patch did not correctly fix Linux builds. This was fixed by Bug 315017.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: