SUMMARY When a tracker's website certificate expires, or when it is offline / unreachable, an error message will be shown. This message periodically reappears, and each message stays open until it is manually closed, leading to many messages covering the screen if KTorrent is left running for a length of time unattended. STEPS TO REPRODUCE 1. Set up a torrent in KTorrent with a tracker whose website certificate has expired or which is not accessible. 2. Wait a while. OBSERVED RESULT First one, then more popups will appear notifying you that the tracker has an issue (there is a button for more info). EXPECTED RESULT KTorrent should show a single popup for any tracker with an issue, which includes a button to disable the tracker, so that the user does not have to scroll through the torrents and their trackers looking for the problematic tracker by name alone. SOFTWARE/OS VERSIONS KTorrent 24.02.2 Operating System: Arch Linux KDE Plasma Version: 6.0.3 KDE Frameworks Version: 6.1.0 Qt Version: 6.7.0
Created attachment 184438 [details] screenshot of popup The popup us created by KIO::WidgetsAskUserActionHandler::askIgnoreSslErrors (...) There are 3 expected solutions to this problem. The solutions will also fix other related problems: 1. From KTorrent side: Allow creating an ignore-list of trackers, so that they will be inactive by default whenever an additional torrent includes it. 2. From KIO side: (i) Report user decision to calling program and (ii) have the ability to configure this specific option (ignore SSL errors) when making the worker (not sure if it already exists) (iii) also, have the alternate option to let the application create the dialogue instead of KIO itself 3. From KTorrent side:- (i) If KIO reports "Cancel" (I am assuming that means that the error will not be ignored and the tracker will disconnected) for askIgnoreSslErrors, then make it a permanent setting for that specific tracker. [Requires (2.i) and (2.ii)] (ii) Use the alternate option provided in (2.iii) and implement (3.i) functionality on the application side. The least one can have is the ability to easily search what all torrents are using a specific tracker.
Created attachment 184464 [details] Workaround: Patch for Frameworks/KIO v6.17.0