Closed Bug 479940 Opened 16 years ago Closed 15 years ago

Wrong "remaining time" in Download Manager

Categories

(Toolkit :: Downloads API, defect)

1.9.0 Branch
x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 447609

People

(Reporter: drakorg, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6 When you are downloading multiple files, the download manager mini status shown in the bottom right corner of the browser indicates the total remaining time of all the downloads, but the way it calculates that time is wrong: It just sums up the remaining times of all downloads, but it does not have into account that all those downloads are being downloaded SIMULTANEOUSLY, so, basically, the remaining time to the completion of all downloads, will be the estimated time of the longest download. It should be changed from SUM(time1, time2, time3, time4) to MAX(time1, time2, time3, time4). At least for the indication of the "remaining time". NOW, if you want to use that indicator for other purposes, like for instance, "remaining Kbytes" to be transfered, well, you could THEN safely SUM up those, and indicate clearly on the status bar what is that indicator really indicating. Thank you for reading this. Eduardo Reproducible: Always Steps to Reproduce: 1. Download multiple files 2. Check the estimated time for each of the files being downloaded in the download manager window. 3. Now sum up Actual Results: The "total" estimated time in the browser status bar, is the sum of each of the individuals estimated times. Expected Results: The "total" estimated time in the browser status bar, should be the max of all the individuals estimated times, since all files are being downloaded at the same time. The process will naturally finish the moment the last file finishes. Currently, its clear that the time is calculated this way (in concept) SUM(time1, time2, time3, time4) when it should just be MAX(time1, time2, time3, time4)
Component: General → Download Manager
Product: Firefox → Toolkit
QA Contact: general → download.manager
Summary: Wront "remaining time" in Download Manager → Wrong "remaining time" in Download Manager
Version: unspecified → 1.9.0 Branch
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.