Bug 101362 - Kopete opens multiple browser windows
Summary: Kopete opens multiple browser windows
Status: RESOLVED NOT A BUG
Alias: None
Product: kopete
Classification: Unmaintained
Component: general (show other bugs)
Version: 0.9.2
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-12 14:21 UTC by Pablo Dal Lago
Modified: 2005-03-12 14:51 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.