Bug 53962 - KProgress - percentage incorrect when using large range
Summary: KProgress - percentage incorrect when using large range
Status: RESOLVED FIXED
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Stephan Kulow
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-03 05:20 UTC by Mike K. Bennett
Modified: 2003-02-09 03:35 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike K. Bennett 2003-02-03 05:20:38 UTC
Version:            (using KDE KDE 3.1)
Installed from:    Gentoo Packages
Compiler:          gcc 3.2.1 
OS:          Linux

The KProgress widget reports the wrong percentage on a large range, although the drawn progress bar is correct.  For instance, when used to display the progress of a file transfer, 25955140 of 52871001 bytes had been transferred.  The filled progress bar correctly takes up about half of the progress bar length.  The numerical display, however, reads "-32%".  It seemed to switch to -35% or so at around 25% done.  The negative percentage gradually counted up to 0 and then finished (when it should have read 100%) at about 20% or so.

The progress bar seems accurate enough when used for smaller maximum values.
Comment 1 Caleb Tennis 2003-02-09 03:35:17 UTC
Fixed in CVS.