Summary: | kpackagekit progress bar is hard to understand | ||
---|---|---|---|
Product: | [Frameworks and Libraries] kpackagekit | Reporter: | Steven M. Parrish <smparrish> |
Component: | general | Assignee: | Steven M. Parrish <smparrish> |
Status: | RESOLVED INTENTIONAL | ||
Severity: | normal | CC: | dantti12, tdfischer |
Priority: | NOR | ||
Version: | 0.3.1 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Steven M. Parrish
2009-01-10 14:21:56 UTC
This is actually a technical limitation in PackageKit, not KPackageKit. All we do is listen to the backend which sends periodic updates of the transaction progress. On my fedora system with the yum backend, the entire 'install a package' transaction is split into a few sections. when a transaction is in a certain stage, the progress is in one of these ranges: 5%: Dependency resolution 10%-40%: Downloading 40%: Signature checking 45%: Test commit 55%-95%: Installation 95%-100%: Cleanup In any PackageKit backend, any of these steps is entirely optional. The percentage reported by PackageKit is for the entire transaction which includes all those steps, so its a bit difficult to figure out the exact sub-percentage for one step. In the latest KPackageKit SVN, there is an update to the transaction dialog that shows a sub-percentage progress bar (as reported by PackageKit). In the yum backend's case, it shows the specific package's progress (eg download or installation). It currently isn't possible to get the size of the packages to be downloaded, so we can't show the bar per size. However, the overall transaction progress is updated according to the downloaded size in recent packagekit versions (its just rounded to the nearest whole number). I'm marking this as WONTFIX because all this is handled upstream in PackageKit, and is already fixed :) |