Open Bug 726445 Opened 13 years ago Updated 2 years ago

Improve time left indication

Categories

(Firefox :: Downloads Panel, defect)

defect

Tracking

()

People

(Reporter: Paolo, Unassigned)

References

()

Details

This bug tracks work to be done on top of the Downloads Panel in bug 726444. * We start calculating download time too early, which causes quickly cycling time estimates (example: 1 hour, 30 minutes, 20 minutes, 3 minutes and then stays at 3-2 minutes) - we should have a delay before we show the exact time, so the download has time to spin up and get to a more stable transfer rate. * When downloading normally, the indicator jumps from 1m left to 30s left, but this can be confusing. Jump instead to 50s, then to 40s, then start counting down from 30s, 29s, and so on.
Half hour (for example 1.5 hour left) should be indicated.
Though I've not looked up the code, but can we follow something like en.wikipedia.org/wiki/Moving_average#Exponential_moving_average to calculate the remaining time, this will smoothen the curve that we are getting currently.
(In reply to Atul Jangra [:atuljangra] from comment #2) > Though I've not looked up the code, but can we follow something like > en.wikipedia.org/wiki/Moving_average#Exponential_moving_average to calculate > the remaining time, this will smoothen the curve that we are getting > currently. Looks really cool! :-) Can you explain in a few words what this is about, and how it helps in reducing the jumps in the remaining time, that we usually see at the very beginning of a new download?
This will help in reducing the jumps in remaining time, as it keeps the record of the speed that we were getting at different time. The jump at the starting of download will surely be reduced by implementing this algorithm, but I am afraid this won't result in some good increase in accuracy. So Paolo, give me a lil time to figure out a good algorithm for the same. :-)
After some discussion, I've come to the following conclusions: -Due to the characteristics of the network, there is really no reliable way to get a correct time estimate when the download starts. I came across this page : http://en.wikipedia.org/wiki/Slow-start while searching for reasons behind this. -So, what we can do is just to delay the display of the time left indication, until we know that it is more reliable. For now, we will delay it by a second or two. We can fine-tune it later.
Sorry if posted on the wrong place but not sure about the right place The new Download panel has loads of free chrome above & below the progress bar why can't we use the space to provide more detail's like Speed?(which was recently removed but is very useful) or more options like auto-clear check box or url -info? Also there is no compact mode(if user want's to see more download in less space) mode in default large icons or using small icons
Component: General → Downloads Panel
No longer blocks: DownloadsPanel
Summary: [Downloads Panel] Improve time left indication → Improve time left indication
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.