https://bugs.kde.org/show_bug.cgi?id=358159
Bug ID: 358159 Summary: ktraderclient5 returns the wrong order for x-scheme-handler/magnet Product: frameworks-kservice Version: unspecified Platform: Other OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: general Assignee: fa...@kde.org Reporter: master.ho...@gmail.com CC: kdelibs-b...@kde.org I've noticed that magnet links are always opened in ktorrent, when I want them to open in qBittorrent. I have x-scheme-handler/magnet=qBittorrent.desktop set under Default Applications in mimeapps.list, and yet they still open in ktorrent. I did some digging and found that xdg-open uses ktraderclient5 (when using kde frameworks 5) to find what program it should open, and calling ktraderclient5 --mimetype x-scheme-handler/magnet --servicetype Application does indeed return the wrong order, with ktorrent being offer 0 and qbittorrent being offer 1. I tried calling ktraderclient (the kde 4 version), and that returns the correct order. If I run xdg-mime default qBittorrent.desktop x-scheme-handler/magnet it works for a little while, but then seems to reset itself. I'm not sure why or how. Reproducible: Always Steps to Reproduce: 1. Try to open a magnet link using xdg-open 2. 3. Actual Results: ktorrent opens even though I have qBittorrent set as the default. Expected Results: qBittorrent should open. Running Kubuntu 15.10 with kde framework 5.15.0 and plasma 5.4.3. -- You are receiving this mail because: You are watching all bug changes.