<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 8, 2014 at 6:24 AM, Richard Hughes <span dir="ltr"><<a href="mailto:hughsient@gmail.com" target="_blank">hughsient@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 8 December 2014 at 00:52, Sasa Ostrouska <<a href="mailto:casaxa@gmail.com">casaxa@gmail.com</a>> wrote:<br>
> I believe that dividing by 2 the total tasks and have the percentage shown<br>
> when downloading up to 50% and when installing the other part from 50% up to<br>
> 100% is wrong.<br>
<br>
</span>The PackageKit spec says (and the clients expect) that a transaction<br>
goes from 0% to 100% once, so typically it will do something like<br>
this:<br>
<br>
0% setup<br>
10% downloading<br>
20% downloading<br>
30% downloading<br>
40% downloading<br>
50% downloading<br>
60% downloading<br>
70% installing<br>
80% installing<br>
90% cleanup<br>
100% done!<br>
<br>
If you want per-package percentage updates, there's the ItemProgress<br>
signal that can be used.<br>
<span class="HOEnZb"><font color="#888888"><br></font></span></blockquote><div>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.<br></div><div>So would be:<br></div><div>Downloading 0-100%<br></div><div>Installing 0-100%<br><br></div><div>And so on. <br><br></div><div>Rgds<br></div><div>Saxa<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="HOEnZb"><font color="#888888">
Richard<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
PackageKit mailing list<br>
<a href="mailto:PackageKit@lists.freedesktop.org">PackageKit@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/packagekit" target="_blank">http://lists.freedesktop.org/mailman/listinfo/packagekit</a><br>
</div></div></blockquote></div><br></div></div>