Bug 198843 - Yumex total percentage upon Upgrade installs is wrong
Summary: Yumex total percentage upon Upgrade installs is wrong
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: yumex
Version: 5
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tim Lauridsen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-07-13 23:38 UTC by Stewart Adam
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-08-16 12:47:33 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Stewart Adam 2006-07-13 23:38:08 UTC
Description of problem:
When upgrading packages, the total percentage bar at the bottom is wrong.

It seems that when calculating the percentage, it bases the percent on a yum's
total - which includes the cleanup steps. But when upgrading the packages, the
cleanups are left out, so depending on how many packages you're upgrading, the
progress bar will stick to a certain number then jump to 100% as all cleanups
are finished. For example, I recently did a bunch of upgrades to development
versions of Gnome - And my progress bar stopped at 86% when it stopeed upgrading
packages. It moved on to cleanup, did about 10 - 15 cleanups and stuck 86% then
jumped to 100% once everything was done.

Version-Release number of selected component (if applicable):
yumex-1.1.0-2.0.fc6

How reproducible:
Always

Steps to Reproduce:
1. Refresh repos
2. Choose packages to upgrade
3. Look at the progress bar as 'Cleanups' happen
  
Actual results:
The percent will not increase per cleanup completed. This is fine, but because
the percentage is based on a number with the cleanups included, the bar never
finishes at 100%.

Expected results:
The percentage includes the 'cleanup' steps so that it will reach 100%

Additional info:

Comment 1 Tim Lauridsen 2006-07-15 10:27:02 UTC
I will take a look at this and fix it.

Comment 2 Stewart Adam 2006-08-14 15:34:57 UTC
I just finished testing the 1.1.1 development version, the total percentage was
stuck at 85% as it cleaned up...

Comment 3 Tim Lauridsen 2006-08-16 12:47:33 UTC
it is fix now in SVN, it will be availible when yumex 1.1.1 is released.

Comment 4 Stewart Adam 2006-08-16 19:47:18 UTC
Sweet :)
Stewart


Note You need to log in before you can comment on or make changes to this bug.