<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Dec 7, 2014 at 11:25 PM, Sasa Ostrouska <span dir="ltr"><<a href="mailto:casaxa@gmail.com" target="_blank">casaxa@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Dec 7, 2014 at 10:41 PM, Eugen Wissner <span dir="ltr"><<a href="mailto:belka.ew@gmail.com" target="_blank">belka.ew@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi Sasa,<br><br></div></div></div></blockquote><div>Hi Eugene, <br></div><span class=""><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div></div>in the previous versions I had the problem, that the percentage wasn't reset to 0 after 100%. </div></div></blockquote><div><br></div></span><div>I have tested this patch and now the thing is that the percentage is showed correctly but of course only for the <br></div><div>download phase. The percentage on the installing phase is not shown at all, but this is another issue i think, it should have nothing to do with this one.<br></div></div></div></div></blockquote><div><br></div><div>I have checked a bit the code in the install section, and I believe you should add also this patch. It still doesnt show the percent progress during the install phase but looking at the code <br></div><div>this i=0 was in some way forgotten in the for loop. Otherwise it seems completely wrong as the percent_step * i would be not restarted from 0 but from where the previous for loop left i value<br></div><div>if Im not understanding it wrong.<br></div><div><br></div><div>Rgds<br></div><div>Saxa<br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div> <br></div><span class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I will test your patch in the next days. By the way PK moved to Github, you can create issues: <a href="https://github.com/hughsie/PackageKit/issues" target="_blank">https://github.com/hughsie/PackageKit/issues</a><br><br></div></div></blockquote></span><div>I know that now is hosted on github, I sw the announcements on the ML some time ago. But I was not aware the way you guys now work on the thing, therefore <br></div><div>I have just used the HACKING file instructions.<br> <br></div><span class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div></div>Regards<br>Eugene<br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>2014-12-08 1:52 GMT+01:00 Sasa Ostrouska <span dir="ltr"><<a href="mailto:casaxa@gmail.com" target="_blank">casaxa@gmail.com</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div><div><div><div>Hi, I made a small change to the Katja backend to show the correct percentage during the downloading of the packages.<br><br></div>I believe that dividing by 2 the total tasks and have the percentage shown when downloading up to 50% and when installing the other part from 50% up to 100% is wrong. IMHO this should show the completing of the task and not of all the tasks.<br><br></div>See the attached patch if you want to include it.<br><br></div>Rgds<br></div>Saxa<br><br><div><div><br></div></div></div>
<br></div></div>_______________________________________________<br>
PackageKit mailing list<br>
<a href="mailto:PackageKit@lists.freedesktop.org" target="_blank">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>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
PackageKit mailing list<br>
<a href="mailto:PackageKit@lists.freedesktop.org" target="_blank">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>
<br></blockquote></span></div><br></div></div>
</blockquote></div><br></div></div>