Summary: | KTorrent does not save magnets unless properly shut down | ||
---|---|---|---|
Product: | [Applications] ktorrent | Reporter: | Linus Kardell <linus.kardell> |
Component: | general | Assignee: | Joris Guisson <joris.guisson> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | descartavel1, jackhill3103, jtamate |
Priority: | NOR | ||
Version: | 5.1 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/network/ktorrent/-/commit/4424f34fb005c43e6aee109e9d474fbc99d293d2 | Version Fixed In: | |
Sentry Crash Report: |
Description
Linus Kardell
2019-12-26 12:42:09 UTC
*** 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 |