After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 639367 - url-handlers for GNOME do not work properly
url-handlers for GNOME do not work properly
Status: RESOLVED WONTFIX
Product: xchat-gnome
Classification: Other
Component: general
0.26.x
Other Linux
: Normal normal
: ---
Assigned To: xchat-gnome maintainers
xchat-gnome maintainers
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2011-01-12 21:04 UTC by Stephen H. Gerstacker
Modified: 2019-02-23 02:50 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to fix the url-handler (534 bytes, patch)
2011-01-12 21:04 UTC, Stephen H. Gerstacker
none Details | Review

Description Stephen H. Gerstacker 2011-01-12 21:04:40 UTC
Created attachment 178181 [details] [review]
Patch to fix the url-handler

g_app_info_launch_default_for_uri pulls information from gconf as to how to handle irc URIs.  The current version sets the command to xchat-gnome --existing --url=%s, which doesn't work properly.

glib 2.26.0 (and maybe newer), strip the %s and append " %u", with a space.  This causes Xchat-Gnome to ignore the url, since there is a space between --url= and the URL.

The -u option does work though.  Attached is a patch to switch to the -u command line option.
Comment 1 André Klapper 2019-02-23 02:50:58 UTC
xchat-gnome is not under active development anymore.
Its codebase has been archived:
https://gitlab.gnome.org/Archive/xchat-gnome/commits/master

Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect
reality. Please feel free to reopen this ticket (or rather reactivate the project
to GNOME Gitlab, as GNOME Bugzilla is deprecated) if anyone takes the
responsibility for active development again.
You may want to switch to Hexchat (or another IRC client that suits you).