[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 179456] KTorrent does not allow you to pause individual torrents
From:       Adam Forsyth <agforsyth () gmail ! com>
Date:       2009-01-14 18:54:06
Message-ID: 20090114185406.22C5914460 () immanuel ! kde ! org
[Download RAW message or body]

http://bugs.kde.org/show_bug.cgi?id=179456





--- Comment #6 from Adam Forsyth <agforsyth gmail com>  2009-01-14 19:54:05 ---
I think that pausing a torrent should NOT be taken into account by the queue
manager. As far as the queue is concerned the torrent is running, and the
stalled timer should be reset (since the torrent is purposely stalled). It
SHOULD hold it's spot in the queue, as this makes sense conceptually (pausing
as opposed to stopping the torrent). If you want another torrent to download
then you need to give it a higher priority in the queue.

I'm not concerned what version the feature gets included in, but I don't think
it's relevant to the queue manager.

Looking at the code, it doesn't look like I remembered to reset the stalled
timer in this version of the patch. Just adding "stalled_timer.update();" to
the "if(stats.paused)" section of "torrentcontrol->update()" I believe is the
correct (as I intended it) behavior.


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic