Bug 258317 - Magnet links can not be started from Konqueror
Summary: Magnet links can not be started from Konqueror
Status: RESOLVED DOWNSTREAM
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: 4.8.3
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-29 22:42 UTC by m.wege
Modified: 2012-10-19 23:32 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description m.wege 2010-11-29 22:42:48 UTC
Version:           0.0.1 (using KDE 4.5.3) 
OS:                Linux

When I click on a magnet link I receive the following error message:

"The requested operation could not be completed
Cannot Initiate the magnet Protocol
Technical Reason: Unable to Launch Process
Details of the Request:
URL: magnet:?xt=[Link removed]
Protocol: magnet
Date and Time: Monday 29 November 2010 22:39
Additional Information: Unable to create io-slave: klauncher said: Fehler beim Laden von „ktorrent '%u'“

Clicking on the same link in Firefox works. Ktorrent ist started without a problem.

Reproducible: Always




OS: Linux (i686) release 2.6.35-23-generic-pae
Compiler: cc
Comment 1 Darin McBride 2012-05-28 16:34:26 UTC
Still the case with KDE 4.8.3 (Gentoo sources).
Comment 2 Dawit Alemayehu 2012-09-14 14:26:18 UTC
(In reply to comment #1)
> Still the case with KDE 4.8.3 (Gentoo sources).

Can either one of you provide a link to test this against ? The magnet kio comes with ktorrent so if it does not work, then it needs to be reported against ktorrent not konqueror.
Comment 3 Joris Guisson 2012-09-17 10:45:19 UTC
In konqueror 4.8.4 this works fine.  I had trouble with this in older versions of KDE, at least the built in browser of ktorrent's seearch plugin resulted in the same error message.

It could of course be caused by some weird character in the magnet uri which isn't properly passed to ktorrent when forking ktorrent. Maybe konqeror didn't shell quote the uri parameter for ktorrent ?
Comment 4 Darin McBride 2012-09-17 12:44:01 UTC
Aha.  I'm on KDE 4.9.1, though I've had this problem with 4.8 and probably 4.7, maybe even earlier.

However, if I switch the view mode from WebKit to KHTML, then magnet links work.  I hadn't thought to try that any earlier.  Maybe this is a problem with WebKit, then.  Maybe m.wege can confirm whether s/he is also using WebKit?
Comment 5 Joris Guisson 2012-09-17 13:02:23 UTC
Note that the built in browser of ktorrent's search plugin  also uses webkit

So it looks like a webkit issue.
Comment 6 Myriam Schweingruber 2012-09-17 20:04:15 UTC
(In reply to comment #5)
> Note that the built in browser of ktorrent's search plugin  also uses webkit
> 
> So it looks like a webkit issue.

Then this should be reported upstream, webkit is an external dependency we have no inlfuenc over.
Comment 7 Darin McBride 2012-09-18 18:50:06 UTC
https://bugs.webkit.org/show_bug.cgi?id=97004 suggests that KDE is using Webkit improperly.  Either that or someone has to provide a patch.  I'm not sure which.
Comment 8 Dawit Alemayehu 2012-09-19 04:05:53 UTC
Might not really be a webkit issue. We need to first investigate the KIO/QNetworkAccessManager bridge to make sure it is not doing anything that prevents magnet urls from working.
Comment 9 Dawit Alemayehu 2012-10-19 23:32:42 UTC
https://bugs.launchpad.net/lucid-backports/+bug/801665