This forum has been archived. All content is frozen. Please use KDE Discuss instead.

[BUG] Weird sorting problem, certain circumstance

Tags: None
(comma "," separated)
switchcakes
Registered Member
Posts
14
Karma
0
If you add a multifile torrent to download, and uncheck all files so that none should be downloaded, then sort the download list by "% Complete", it will jump up and down seemingly randomly in the list, rather than stay where it should among the 100%'s.

You may need a lot of downloads to see it happen... I have ~60 torrents in the download list, and ~10 of them at 100%, and a new torrent added like this will always jump around and the behavior is always easily viewable.

Using SVN 01/30/06.
George
Moderator
Posts
5421
Karma
1

Mon Jan 30, 2006 7:30 pm
The number it shows is 100 % ?
switchcakes
Registered Member
Posts
14
Karma
0

Mon Jan 30, 2006 7:36 pm
Yeah, it does show as 100% (and Seeding).
George
Moderator
Posts
5421
Karma
1

Mon Jan 30, 2006 7:37 pm
It seems that when I calculate the percentage, I do not take into account the fact that the number of bytes which need to be downloaded can be zero. Which results in divisions by zero (of floating point number).


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]