SUMMARY The magnet link list seems to only save when KTorrent is properly shut down. If KTorrent is killed, or crashes, the magnet link will have not been saved, no matter how long time has passed. STEPS TO REPRODUCE 1. Add a magnet link, or start a download from a magnet link thus removing it 2. Kill KTorrent 3. Restart KTorrent OBSERVED RESULT Magnet link list reset to state before step 1 EXPECTED RESULT Magnet link list should be same as after 1 SOFTWARE/OS VERSIONS Linux/KDE Plasma: OpenSUSE Tumbleweed (available in About System) KDE Plasma Version: 5.17.4 KDE Frameworks Version: 5.64.0 Qt Version: 5.13.1
*** Bug 425898 has been marked as a duplicate of this bug. ***
Confirmed on 23.08.4 Also ask to increase importance/severity as a regular KDE shutdown lately will send SIGHUP in the same split second as SIGTERM, resulting on everything being improperly killed. (lots of bugs from the mix of systemd, QTDBus, wayland being worked on).
A possibly relevant merge request was started @ https://invent.kde.org/network/ktorrent/-/merge_requests/112
Git commit 4424f34fb005c43e6aee109e9d474fbc99d293d2 by Andrius Štikonas, on behalf of Jack Hill. Committed on 08/03/2024 at 22:09. Pushed by stikonas into branch 'master'. Save magnet queue whenever the queue is updated I.e. when magnets are added to the queue. Previously the queue was only saved when KTorrent was closed, so all magnets added in a session were lost if KTorrent crashed. Test-plan: import a stale magnet link then send a SIGHUP to KTorrent and restart the app. Previously the magnet link did not appear on the magnets list after the restart, now it does. M +3 -0 ktorrent/core.cpp https://invent.kde.org/network/ktorrent/-/commit/4424f34fb005c43e6aee109e9d474fbc99d293d2