Bug 101362

Summary: Kopete opens multiple browser windows
Product: [Unmaintained] kopete Reporter: Pablo Dal Lago <pdallago>
Component: generalAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: wishlist    
Priority: NOR    
Version: 0.9.2   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Pablo Dal Lago 2005-03-12 14:21:34 UTC
Version:           0.9.2 (using KDE 3.3.2, Gentoo)
Compiler:          gcc version 3.3.5 (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)
OS:                Linux (i686) release 2.6.10-gentoo-r6

When Kopete tries to open my MSN Inbox, it opens a Konqueror window with the URL "file:/tmp/kde-myuser/kopetehotmail-D41hpb.html" which in turn, opens the real Hotmail login in Firefox (selected as default browser in the Component Chooser).

I'm wondering if this intermediate step could be avoided, or at least changed to open only my default browser. I believe this is due to Konqueror handling the "file" protocol, but I can't think of a way to change that without messing with my file browsing settings. At least, you could auto-close the first window after a couple of seconds.
Comment 1 Jason Keirstead 2005-03-12 14:51:24 UTC
MSN uses KRun for this call:

KRun::runURL( KURL::fromPathOrURL( tmpMailFile.name() ), "text/html" , true );

KRun should be using whatever app is associated with text/html to topen that file. So all you need to do is associate text/html with Firefox instead of Konqueror.

Since you already have Firefox set to be your default browser this shouldn't be much of a problem.