GNOME Bugzilla – Bug 546560
xmpp uris not recognized
Last modified: 2021-06-10 19:42:51 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?
FIY, hanlders are defined in gconf /desktop/gnome/url-handlers/.
Those are working for most apps for me but not gnome-terminal. I dont think gnome-terminal looks there.
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.
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
I'm going to mark this dependent on bug 579859 for a more general solution to adding matchers.
@reporter: Do you still want this feature? If so, could you update the patch to git master?
Still happening with the regex rewrite from bug 756038.
-- 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.