[packagekit] Fix show percentage in Katja backend during download

Matthias Klumpp matthias at tenstral.net
Mon Dec 8 07:13:23 PST 2014


2014-12-08 16:07 GMT+01:00 Sasa Ostrouska <casaxa at gmail.com>:
>
>
> On Mon, Dec 8, 2014 at 11:55 AM, Richard Hughes <hughsient at gmail.com> wrote:
>>
>> On 8 December 2014 at 14:51, Sasa Ostrouska <casaxa at gmail.com> wrote:
>> > Hi Richard, many thanks for the answer, in my opinion it is way more
>> > logical
>> > to have it for each task showing the percentage of the completion of
>> > task.
>>
>> Why is that more logical? If you provide multiple 0->100% phases then
>> you also need to provide a percentage report of how many phases there
>> are going to be. The frontend just needs to know if the task is
>> completely done, or half done, or only just started. Per-package
>> progress can be communicated using ItemProgress.
>>
> For me its way more easy to understand at which point of some phase
> something was done.
> If I have 10 packages and in the download of the fourth package has gone the
> connection
> its better to know it was at 40% rather than at 25% or any arbitrary number
> divided by the
That's what you use ItemProgress for - the UI is free to show the item
progress or not though, so maybe your PK client just doesn't display
that information?
Cheers,
    Matthias


More information about the PackageKit mailing list