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 546560 - xmpp uris not recognized
xmpp uris not recognized
Status: RESOLVED OBSOLETE
Product: gnome-terminal
Classification: Core
Component: general
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: GNOME Terminal Maintainers
GNOME Terminal Maintainers
Depends on: 579859
Blocks:
 
 
Reported: 2008-08-06 10:38 UTC by Thilo
Modified: 2021-06-10 19:42 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
Addition of a regex for XMPP with a basic action (Send IM to) in popup menu (3.98 KB, patch)
2008-09-30 22:11 UTC, Simon van der Linden
needs-work Details | Review

Description Thilo 2008-08-06 10:38:42 UTC
An URI like: xmpp:bla@conference.jabber.org?join only recognized the "email adress" although this is a jabber channel. I guess the URL recognition needs to be fixed. As far as I could see this is defined in the file: src/terminal-screen.c

I wonder why this is not done by any external definition. A GNOME app should not need to define URIs all by itself because this is the same in every application. Or is there no other module that could be used for that?
Comment 1 Rouslan Solomakhin (Руслан Соломахин) 2008-08-17 08:16:12 UTC
FIY, hanlders are defined in gconf /desktop/gnome/url-handlers/.
Comment 2 Thilo 2008-08-17 09:53:16 UTC
Those are working for most apps for me but not gnome-terminal. I dont think gnome-terminal looks there.
Comment 3 Christian Persch 2008-08-17 11:28:24 UTC
The problem here is not the handler, it's that g-t doesn't highlight xmpp: URIs. We simple need to change our regex for these.
Comment 4 Simon van der Linden 2008-09-30 22:11:30 UTC
Created attachment 119689 [details] [review]
Addition of a regex for XMPP with a basic action (Send IM to) in popup menu

This is a really simple solution to the problem. I'm not satisfied with it.

The thing is that what we call "email address" has exactly the same pattern as an XMPP address if the scheme is omitted. And it would be nice to show XMPP-related actions in the popup-menu when the scheme is omitted. Also, I think we should call this address in another way ("Email/Jabber Address", for example, or simply "Address")

What do you think about this?

By the way, what actions would be eligible for this menu?
 * Send Email To...
 * Send IM To...
 * Copy Address
Comment 5 Christian Persch 2009-05-26 20:38:33 UTC
I'm going to mark this dependent on bug 579859 for a more general solution to adding matchers.
Comment 6 Christian Persch 2012-12-16 14:08:33 UTC
@reporter: Do you still want this feature? If so, could you update the patch to git master?
Comment 7 Christian Persch 2016-02-21 15:22:58 UTC
Still happening with the regex rewrite from bug 756038.
Comment 8 GNOME Infrastructure Team 2021-06-10 19:42:51 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-terminal/-/issues/6635.