Version: 2.1.4 (using KDE KDE 3.5.6)
Installed from: Ubuntu Packages
Maximum Downloads: 5
option "Keep seeding after download is finished" disabled.
>5 Torrents in the queue to be downloaded (managed by QM)
Torrent 6 is not started after Torrent 1 has completed downloading (state transition from downloading -> download completed)
Torrent 6 starts downloading after Torrent 1 finishes. This correct behavior happens when "keep seeding after download is finished" is enabled (state transition from downloading -> seeding).
QM problem, so Ivan should take a look at it
I also noticed this behaviour. The problem seems to be in QueueManager::torrentFinished(). The funtcion returns, when keep_seeding is false and the queue does not get updated. I made a patch, which fixes this in my opinion.
Created attachment 20724 [details]
fix queue manager update, if not keep_seeding
SVN commit 670486 by ivasic:
Fixed "keed seeding" option.
Thanks to Glen Masgai for providing the patch.
M +2 -4 queuemanager.cpp
--- trunk/extragear/network/ktorrent/libktorrent/torrent/queuemanager.cpp #670485:670486
@@ -586,11 +586,9 @@
// if(max_seeds !=0 && max_seeds < getNumRunning(false,true))
- if (!keep_seeding)
+ if (keep_seeding)
+ torrentAdded(tc, false, false);
- torrentAdded(tc, false, false);