# Improve time left indication

NEW
Unassigned

NEW
7 years ago
a year ago

Trunk
---
Points:
---

## Details

(Reporter)

### Description

7 years ago
```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.
this can be confusing. Jump instead to 50s, then to 40s, then start counting
down from 30s, 29s, and so on.```

### Comment 1

7 years ago
`Half hour (for example 1.5 hour left) should be indicated.`
(Reporter)

6 years ago
Blocks: 564934

### Comment 2

6 years ago
`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.`
(Reporter)

### Comment 3

6 years ago
```(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

### Comment 4

6 years ago
```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. :-)```

### Comment 5

6 years ago
```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.```

### Comment 6

6 years ago
```Sorry if posted on the wrong place but not sure about the right place

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```

6 years ago

### Updated

6 years ago
No longer blocks: 564934

### Updated

6 years ago
Summary: [Downloads Panel] Improve time left indication → Improve time left indication
You need to log in before you can comment on or make changes to this bug.