Closed Bug 270964 Opened 21 years ago Closed 21 years ago

Download manager shows incorrect percentage for multiple files

Categories

(Toolkit :: Downloads API, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 239006

People

(Reporter: kosta_kp, Assigned: bugs)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 If you are downloading more than one file, Download Manager just divides the total number of percents in the downloads by the number of downloads, instead of the percentage of the total file size downloaded. For example, 90% of a 10 MB file and 15% of a 1 MB file shows "53% (52.5% rounded) of 2 files" (implying 5.775/11MB downloaded) instead of "83% of 2 files" (the actual 9.15/11MB downloaded. It should equal (SizeDone1 + SizeDone2)/(SizeTotal1 + Size Total2) * 100%, NOT (SizeDone1/SizeTotal1 + SizeDone2/SizeTotal2)/2 * 100% Reproducible: Always Steps to Reproduce: 1. Download more than one file (of diffent filesizes) simultaneously. Actual Results: See above. Expected Results: See above.
*** This bug has been marked as a duplicate of 239006 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
v.
Status: RESOLVED → VERIFIED
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.