Bug 89736

Summary: opening urls in mozilla or firefox is not correctly handled
Product: [Applications] kmail Reporter: Olivier Magere <olivier.magere>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: adam
Priority: NOR    
Version: 1.7   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:

Description Olivier Magere 2004-09-18 01:12:25 UTC
Version:           1.7 (using KDE KDE 3.3.0)
Installed from:    Debian testing/unstable Packages
OS:                Linux

I've configured kde to open http(s) with mozilla.

When clicking on a link in kmail, the content of the link is downloaded in cache (/var/tmp/kdecache-user/krun) and the resulting file is passed to the browser application. The system should just pass the address for the browser to load the link itself.
Comment 1 David Faure 2004-09-18 01:15:34 UTC
On Saturday 18 September 2004 01:12, Olivier Magere wrote:
> When clicking on a link in kmail, the content of the link is downloaded in cache (/var/tmp/kdecache-user/krun) and the resulting file is passed to the browser application. The system should just pass the address for the browser to load the link itself.

Add %u to the Exec line of your browser's .desktop file, e.g.
Exec=mozilla %u

Comment 2 Adam Porter 2005-12-21 00:13:56 UTC
For future reference...

To fix this, open KDE's Control Center (or whatever it's called in the future).  Go to KDE Components, then Component Chooser.  Go to Web Browser, and then make sure that you select your browser's .desktop file from the KDE menu (click the "..." button and find it in the menu).  In my case, I chose "Firefox" from the "Internet" menu, which is firefox.desktop in /usr/share/applications.  If that .desktop file correctly has "%u" after "firefox" or whatever command launches the browser, it should fix this problem.

FYI, I'm on Debian testing/unstable with KDE 3.4.3.
Comment 3 karl sebastian liebich 2007-10-04 00:13:36 UTC
but I think, default preference should work! shouldnt it?
"in an application based on the contents of the url" should work for KMail

I would be very pleased if you fixed it.


thx
Greetings
Karl
Comment 4 karl sebastian liebich 2007-10-04 00:26:57 UTC
I edited the /usr/share/applications/swiftfox.desktop file but that did not fix the Problem.
I did it over K-Menu->right click->edit item and in the "command-field the entry was still without %u !!
I corrected it and it works.