Bug 299591 - Firefox can't launch irc:// links
Summary: Firefox can't launch irc:// links
Status: VERIFIED FIXED
Alias: None
Product: openSUSE 11.0
Classification: openSUSE
Component: GNOME (show other bugs)
Version: Factory
Hardware: Other Other
: P5 - None : Major with 5 votes (vote)
Target Milestone: RC 1
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard: gnome-function-does-not-work, gnome-u...
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-11 15:53 UTC by Francis Giannaros
Modified: 2009-09-18 22:50 UTC (History)
3 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Patch for pidgin to disable using the purple url handler for irc:// (656 bytes, patch)
2008-05-28 14:36 UTC, James Ogley
Details | Diff
Amended patch for pidgin to disable using the purple url handler for irc:// (1.04 KB, patch)
2008-05-28 14:39 UTC, James Ogley
Details | Diff
Patch for gnome-vfs2 to enable xchat as irc:// handler. (1.87 KB, patch)
2008-05-28 14:41 UTC, James Ogley
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Francis Giannaros 2007-08-11 15:53:18 UTC
If you click on an IRC link, i.e. irc://irc.freenode.net/suse in KDE Firefox, it does not launch any IRC client. The file associations for the irc protocol are appropriately set in KDE's file associations (and hence this works in Konqueror), but it doesn't look like it's set up for Firefox, so if you do you just get an error.
Comment 1 Wolfgang Rosenauer 2007-08-11 17:09:54 UTC
That's one of the several file/protocol association "bugs" which simply happen because Firefox doesn't recognize KDE settings. Firefox as a GTK application uses gconf and gnome-vfs to get the information what to launch.
On my 10.2 system it tries to open purple-url-handler which seems to be "correct".
So either modify the gconf setting for the irc protocol or create the pref
network.protocol-handler.external.irc and specify a graphical IRC application via about:config or manually in your FF profile.
Comment 2 Stephan Binner 2007-09-14 10:39:40 UTC
For me this is a bug and not an enhancement: on the Beta3plus-Live-GNOME-CD.iso clicking on "Connect me to #openSUSE!" in the Online Help pages opens a dialog asking whether to open it with "purple-url-handler "%s" and then "Launch application" does nothing.
Comment 3 Stephan Binner 2007-09-14 10:40:28 UTC
Reassigning to libpurple maintainers.
Comment 4 Magnus Boman 2007-09-17 21:54:07 UTC
The summary references Firefox in KDE but the same happens in GNOME. It should really be a blocker and not wait for upstream. See comment#2.
Comment 5 Stephan Binner 2007-09-18 06:04:56 UTC
Agreed, "should_go_upstream" makes no sense if there isn't any reference to the upstream bug.
Comment 6 Wolfgang Rosenauer 2007-09-18 06:46:35 UTC
There was a should_go_upstream flag w/o any information in this bug?
What's the underlying issue? Has anyone even tried?

I just did and found that pidgin refuses to do anything if no IRC account is configured or if pidgin is not running at all.
So the basic analysis of that bug is that pidgin (aka purple-url-handler) is not suited as a generic url handler at the moment IMHO.
Comment 7 Francis Giannaros 2007-09-23 16:18:04 UTC
In KDE it does absolutely nothing, however, which is very annoying (we want all users to be able to click on irc:// links when we tell them about IRC support). 
Comment 8 Gary Ekker 2008-03-26 18:08:02 UTC
Changing to component GNOME. Sorry for the spam.
Comment 9 James Ogley 2008-05-28 13:19:56 UTC
Wasn't there a discussion about default IRC client in GNOME and we decided it ought to be XChat - would that resolve this?

xchat --url=irc://irc.freenode.net/whatever would work...
Comment 10 James Ogley 2008-05-28 13:38:25 UTC
This can easily be closed - pidgin needs patching so that purple.schemas doesn't set /schemas/desktop/gnome/url-handlers/irc/command and gnome-vfs2 needs patching so that desktop_gnome_url_handlers.schemas sets the same key to xchat --existing --url="%s"
Comment 11 James Ogley 2008-05-28 14:36:40 UTC
Created attachment 218645 [details]
Patch for pidgin to disable using the purple url handler for irc://
Comment 12 James Ogley 2008-05-28 14:39:49 UTC
Created attachment 218646 [details]
Amended patch for pidgin to disable using the purple url handler for irc://

First patch had error.
Comment 13 James Ogley 2008-05-28 14:41:12 UTC
Created attachment 218649 [details]
Patch for gnome-vfs2 to enable xchat as irc:// handler.

Replaces current patch of same name in gnome-vfs2.
Comment 14 Stephen Shaw 2009-09-18 22:50:07 UTC
This works in Factory