Closed Bug 251678 Opened 20 years ago Closed 20 years ago

total completed percent of multiple file download is unreliable

Categories

(Toolkit :: Downloads API, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 245829

People

(Reporter: brunosanguinetti, Assigned: bugs)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040707 Firefox/0.9.2
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040707 Firefox/0.9.2

When downleading more than one file a string saying: "X% of Y files completed",
the X% seems to be calculated as the average of the percentages of the
individual files. It should be calculated as the total KB downloaded / total
files KB * 100 in stead. This bug has the effect of having the total counter
drop when download of one file is complete.




Reproducible: Always
Steps to Reproduce:
1. Download multiple files
2. Look at the total completed in the window title
3.

Actual Results:  
Example:
file 1(1MB): 20% file 2: 99%  displays: 59.5%
file 1(1MB): 20% file 2: completed displays 20%

Expected Results:  
file 1(1MB): 20% file 2(2MB): 99%  displays: 65.3%
file 1(1MB): 20% file 2(1MB): completed displays 67%

*** This bug has been marked as a duplicate of 245725 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
This is not a duplicate in my opinion. Bug #245725 is about calculation of
download speed (... kb/s). This is about calculation of download precentage over
multiple files.
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---

*** This bug has been marked as a duplicate of 245829 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago20 years ago
Resolution: --- → DUPLICATE
Verifying old and obvious dupes. Sorry for bugspam.
Status: RESOLVED → VERIFIED
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.