Version: unspecified (using KDE 4.6.1) OS: Linux When a running torrent is paused and resumed, a time is added to Time Downloaded (runtime_dl). The amount of added time is equal to the torrent's actual running time. Reproducible: Always Steps to Reproduce: Start downloading some torrent. Pause. Resume. Actual Results: Time since the torrent was started is added to Time Downloaded. Expected Results: Time Downloaded should't leap forward. Arch Linux package Ktorrent 4.1.0-1, 64 bit. The time seems to be added in function TorrentControl::getRunningTimeDL(), on line 1186 of torrentcontrol.cpp: return istats.running_time_dl + istats.time_started_dl.secsTo(QDateTime::currentDateTime()); http://api.kde.org/4.4-api/kdenetwork-apidocs/kget/html/torrentcontrol_8cpp_source.html#l01186 (Note, this is 4.4 api)
Git commit e0e26883dbf47667f4a5738ca8762118ad51206a by Joris Guisson. Committed on 23/04/2011 at 19:26. Pushed by guisson into branch 'master'. Fix bug causing running time to be wrong when pausing torrents BUG: 271521 M +1 -0 ChangeLog M +13 -5 src/torrent/torrentcontrol.cpp M +1 -0 src/torrent/torrentcontrol.h http://commits.kde.org/libktorrent/e0e26883dbf47667f4a5738ca8762118ad51206a
Git commit 13fc4d99296e3869c23c0ddef055ecb0a0e3d66e by Joris Guisson. Committed on 23/04/2011 at 19:26. Pushed by guisson into branch '1.1'. Backport to 1.1: Fix bug causing running time to be wrong when pausing torrents CCBUG: 271521 M +1 -0 ChangeLog M +13 -5 src/torrent/torrentcontrol.cpp M +1 -0 src/torrent/torrentcontrol.h http://commits.kde.org/libktorrent/13fc4d99296e3869c23c0ddef055ecb0a0e3d66e
*** Bug 275380 has been marked as a duplicate of this bug. ***