Bug 231199

Summary: Software installation dialog number of packages wrong
Product: [openSUSE] openSUSE 10.2 Reporter: Dirk Stoecker <opensuse>
Component: libzyppAssignee: Ladislav Slezák <lslezak>
Status: RESOLVED DUPLICATE QA Contact: Klaus Kämpf <kkaempf>
Severity: Normal    
Priority: P5 - None CC: andreas.hanke, locilka, lslezak
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: First screenshot.
Second screenshot.
Third screenshot.
Fourth screenshot.
Fifth screenshot.
Logfile

Description Dirk Stoecker 2006-12-31 14:21:16 UTC
When more than one installation source is used, the number of packages per source is wrong as well as sometimes the name of installation sources and the "finished" texts.

The sizing scrollbar and the package sizes seem to be correct.
Comment 1 Matej Horvath 2007-01-03 12:45:26 UTC
Could you attach a screenshot and your yast logs, please? I'm not able to reproduce it.
Comment 2 Dirk Stoecker 2007-01-03 14:56:30 UTC
Following the logs an the pictures:

Bildschirmphoto1.png:
- directly after start, the numbers are missing completely (but are known compared to time).
Bildschirmphoto2.png:
- After the first package, now shows Finished text instead of numbers
Bildschirmphoto3.png:
- Finished text now also for complete installation.
Bildschirmphoto4.png:
- Finished also for second installation source, althought this was not used at all till now.
Bildschirmphoto5.png:
- Short before the end.
Comment 3 Dirk Stoecker 2007-01-03 14:57:43 UTC
Created attachment 111374 [details]
First screenshot.
Comment 4 Dirk Stoecker 2007-01-03 14:58:09 UTC
Created attachment 111375 [details]
Second screenshot.
Comment 5 Dirk Stoecker 2007-01-03 14:58:36 UTC
Created attachment 111376 [details]
Third screenshot.
Comment 6 Dirk Stoecker 2007-01-03 14:59:29 UTC
Created attachment 111377 [details]
Fourth screenshot.
Comment 7 Dirk Stoecker 2007-01-03 14:59:54 UTC
Created attachment 111378 [details]
Fifth screenshot.
Comment 8 Dirk Stoecker 2007-01-03 15:04:29 UTC
Created attachment 111379 [details]
Logfile
Comment 9 Martin Vidner 2007-01-08 10:16:50 UTC
-> slideshow
Comment 10 Stefan Hundhammer 2007-01-08 10:56:31 UTC
-> zypp

the slide show only displays whatever it gets from libzypp.
Comment 11 Michael Andres 2007-01-10 17:04:57 UTC
You don't, because libzypp does not compute anything. libzypp sends some notification when downloading or installing a package. That's all.

Some pice of code in the UI or PKGBindings (I don't know) computes some total values and receives the notification callbacks. This is where the values the slideshow displays most probabely come from.
Comment 12 Ladislav Slezák 2007-01-12 14:08:56 UTC
Packages from a YUM source ware incorrctly counted, fixed in the next release.

*** This bug has been marked as a duplicate of bug 220242 ***