Bug 473822

Summary: YaST Software Installation - "Remaining" label not updated in time
Product: [openSUSE] openSUSE 11.1 Reporter: Forgotten User b49zM5D78q <forgotten_b49zM5D78q>
Component: YaST2Assignee: Ladislav Slezák <lslezak>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Minor    
Priority: P4 - Low CC: carlo.strata, forgotten_h13THG8RK1
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: openSUSE 11.1   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Forgotten User b49zM5D78q 2009-02-09 09:58:32 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.6) Gecko/2009012700 SUSE/3.0.6-1.4 Firefox/3.0.6

There is a small, uncritical problem in the YaST GUI during software installations:
The label "Remaining" showing the installation size of the remaining packages is updated to the really current value always after the next package to the remaining size of the current package, not immediately after installing the current one.



Reproducible: Always

Steps to Reproduce:
1. Want to install three packages A (20MB), B (10MB), C (5MB).
2. Start YaST Software installation, mark them and launch installing

Actual Results:  
- Start: Remaining (still not shown from the beginning): 35 MB
- Finished installing A - Remaining: 35 MB
- Finished installing B - Remaining: 15 MB
- Finished installing C - Remaining: 5 MB

Expected Results:  
- Start: Remaining (should be shown immediately, why not?): 35 MB
- Finished installing A - Remaining: 15 MB
- Finished installing B - Remaining: 5 MB
- Finished installing C - Remaining: 0 MB
Comment 1 Forgotten User b49zM5D78q 2009-03-05 09:29:07 UTC
Note: I watched this again: The label updates already after downloading the next packages (not installing), but should be updated already before the next download, shouldn't it?
Comment 2 Ladislav Slezák 2009-03-10 14:56:25 UTC
Yes, but the problem is that from some media types (e.g. DVD) the packages are not downloaded but used directly. Simply moving the update to download would break DVD installation, the label must be updated exactly once.
Comment 3 Forgotten User hUuhPOuRYn 2009-04-18 11:22:25 UTC
notice that progressBar updates correctly.
it seems that label is just using wrong [old] variable
Comment 4 Forgotten User b49zM5D78q 2009-05-19 09:23:01 UTC
Yes, the problem is only with the label.
The explanation above isn't understandable to me. This is a functional bug, regardless whether this can be easily fixed or not, isn't it?
Comment 5 Ladislav Slezák 2009-05-19 11:13:23 UTC
The comment #2 is rather a notice for me not to forget to check it also with DVD media, they use slightly different order of callbacks.
Comment 6 Forgotten User b49zM5D78q 2009-05-19 11:20:27 UTC
Oh I see, sorry. As if it wasn't me who said this ;-)
Comment 7 Carlo Strata 2009-06-05 11:53:03 UTC
I confirm the behavior:

- the global bar is correctly updated (simply after each package install complete)

- the "Remaining" label (byte size) updates lately after downloading the next packages (not too correct instant)

Why not to move the second update (remaining) in the same place where the first happens?

Carlo

p.s. I have verified this only in the Gnome "yast2 --install" application.
Comment 8 Ladislav Slezák 2010-11-10 17:59:00 UTC
Fixed in yast2-packager-2.20.10 (Factory/11.4-M3, OBS YaST:Head) - "remaining" label is now updated when package installation is finished.
Comment 9 Bernhard Wiedemann 2016-04-15 09:30:45 UTC
This is an autogenerated message for OBS integration:
This bug (473822) was mentioned in
https://build.opensuse.org/request/show/52749 Factory / yast2-packager