Closed Bug 289743 Opened 20 years ago Closed 20 years ago

download manager shows wrong file size

Categories

(Toolkit :: Downloads API, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 260741

People

(Reporter: bugzillaspambox, Assigned: bugs)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2 The download manage shows the wrong file size of the file that is downloaded till now and I guess also from the complete file. If the first 150,000,000 bytes of a file are downloaded then the download manager shows that he has downloaded 150 mb instead of 143 mb. that's because 1 megabyte is 1024 * 1024 byte and not 1000 * 1000 byte Reproducible: Always Steps to Reproduce: 1. Start a download of a big file 2. Let it download like 100 mb 3. pause the download and watch which file size the download manager tells you, of the part that should be on your disk 4. compare it to the file size of the part really has Actual Results: i guess the file size is given in bytes and are divided through 1000 till it has a readable length Expected Results: divide it through 1024
*** This bug has been marked as a duplicate of 260741 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.