Bug 567966

Summary: Progress time produces strange results
Product: [openSUSE] openSUSE 11.2 Reporter: Dirk Stoecker <opensuse>
Component: YaST2Assignee: Ladislav Slezák <lslezak>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Dirk Stoecker 2010-01-04 10:50:50 UTC
User-Agent:       Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.10 (like Gecko) SUSE

When yast software installation is running, then in details mode you get installed size, number of packages and remaining time. When this time for one source repository goes above 2 hours, then >2:00:00 is shown. Nevertheless the total amount is still a sum of all packages (i.e. 2:13:12). It should be >2:00:00 as well, as you can't add explicit numbers to a ">xxx".

BTW: I would increase the 2 hours to e.g. 4 hours, as network install with large bandwidth and even a normal large installation may exceed two hours and it is still interesting to see when it ends. I agree that for long times the approximation will be unreliable, but 2 hours is to short.

Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Comment 1 Dirk Stoecker 2010-01-04 13:41:25 UTC
Additional note: The detailed actions list does not follow the actions after some time anymore - means the scrollbar jumps, display stops or/and the last line is not visible. Looks as if either the line count is wrong and thus the display is at wrong position or the dialog can't handle lots of data.

BTW: When changed by hand the display should stay at changed position even if new entries are added at the end. Only when scrolled to end it should again automatically follow new lines (like e.g. konsole under KDE does).
Comment 2 Arvin Schnell 2010-01-06 19:54:27 UTC
Code in PackageSlideShow.ycp (yast2-packager) -> Ladislav.
Comment 3 Ladislav Slezák 2010-01-08 08:14:35 UTC
Fixed in SVN trunk, will be in yast2-packager-2.19.3 (Factory).

It will display >2:00:00 instead of e.g. 2:13:12.

However, I decided to keep the 2 hour limit. If it's more than 2 hours the value is very unreliable and can jump between different values quickly depending on the current download and install speed.
Comment 4 Bernhard Wiedemann 2016-04-15 10:39:44 UTC
This is an autogenerated message for OBS integration:
This bug (567966) was mentioned in
https://build.opensuse.org/request/show/29170 Factory / yast2-packager