This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 189904 - Wrong download size displayed
Summary: Wrong download size displayed
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 7.0
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-26 11:38 UTC by Oleg Khokhlov
Modified: 2010-09-24 15:36 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot (38.80 KB, image/jpeg)
2010-08-26 11:38 UTC, Oleg Khokhlov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oleg Khokhlov 2010-08-26 11:38:52 UTC
Created attachment 101683 [details]
Screenshot

When I download GF it says that download size is 78.9 but it continues to download after 78.9Mb
There should be more correct calculation of downloaded megabytes.

Product Version: NetBeans IDE Dev (Build 201008260001)
Java: 1.6.0_20; Java HotSpot(TM) Client VM 16.3-b01
System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb)
Comment 1 Vince Kraemer 2010-08-31 21:19:39 UTC
the mismatch is due to the fact that we get the length of the zip file from the server but then we calculate how many bytes we have read based on the unzip'ed size of the file...

Those will almost never match.

i will determine a new output string which provides better feedback.
Comment 2 Vince Kraemer 2010-09-17 15:38:08 UTC
I think I have a fix for this...
Comment 3 Quality Engineering 2010-09-18 03:43:27 UTC
Integrated into 'main-golden', will be available in build *201009180000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/008f8349a633
User: Vince Kraemer <vkraemer@netbeans.org>
Log: #189904: wrong size displayed in progress messages
Comment 4 Vince Kraemer 2010-09-24 15:36:24 UTC
done