wrong percentage in download manager when files are queued

Bug #202251 reported by Daniel Abramov
4
Affects Status Importance Assigned to Milestone
firefox-3.0 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: firefox-3.0

Hello! I'm running firefox 3.0b3 (3.0~b3+nobinonly-0ubuntu4) on Ubuntu Hardy.

When many files are queued in Downloads window, the overall percentage is calculated only for files being downloaded at the moment, no matter how much are in the queue. This causes some odd behavior, e.g. if I begin downloading ten files, it'll look like this:

1) Overall percentage is 0%, two downloads started, other queued
2) As downloads progress, percentage grows (the only limit is 100%) until one of the files is downloaded.

http://dan.abramov.googlepages.com/Screenshot-1.png (notice that it displays "88% of 8 files" while naturally it is 88% of TWO files being downloaded at the moment).

3) One file is downloaded, and the percentage resets at some lesser value, depending on the other download's progress.

http://dan.abramov.googlepages.com/Screenshot-2.png (see, now it's "36% of 7 files", and naturally, again, it is 36% of TWO files).

It would not be so confusing if the percentage was calculated to total size of ALL files (including those in queue), not only the ones downloading NOW.

Thank you,
Daniel.

ProblemType: Bug
Architecture: i386
Date: Fri Mar 14 21:35:38 2008
DistroRelease: Ubuntu 8.04
Package: firefox 3.0~b3+nobinonly-0ubuntu4
PackageArchitecture: all
SourcePackage: firefox-3.0
Uname: Linux 2.6.24-12-generic i686

Tags: apport-bug
Revision history for this message
Daniel Abramov (ex) wrote :
Revision history for this message
John Vivirito (gnomefreak) wrote :

This should have been fixed in beta5 it fixed mine atleast.

Changed in firefox-3.0:
status: New → Fix Released
Revision history for this message
Volodymyr Buell (vbuell) wrote :

The bug still exists in current firefox releases. I can reproduce it in Firefox 3.0.7.

Revision history for this message
Volodymyr Buell (vbuell) wrote :

Reopened because the bug exists in Firefox 3.0.7

Changed in firefox-3.0:
status: Fix Released → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.