gnome-terminal misreads a fediverse identifier as an email

Bug #1953196 reported by themusicgod1
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-terminal (Ubuntu)
New
Undecided
Unassigned

Bug Description

On the fediverse ( the free software social media network of networks - https://jointhefedi.com/ ) the identifier format is

@username@hostname

unlike email which is

username@hostname

What happens:

if you have a fediverse user displayed in your terminal, gnome-terminal deduces that it is an email and if you right click it, you are given the option to 'Copy Mail Address' and 'Send Mail To' instead of just 'Copy'

What should happen:

You should, instead, be given the option to 'Copy Fedi Address' (and, better yet, optionally 'Send DM To') instead of just 'Copy'. Possibly including the 'Copy Mail Address', for backwards compatibility

ubuntu: 20.04 LTS focal

gnome-terminal:
  Installed: 3.36.1.1-1ubuntu1
  Candidate: 3.36.1.1-1ubuntu1
  Version table:
 *** 3.36.1.1-1ubuntu1 500
        500 http://muug.ca/mirror/ubuntu focal/main amd64 Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: gnome-terminal 3.36.1.1-1ubuntu1
ProcVersionSignature: Ubuntu 5.4.0-26.30-lowlatency 5.4.30
Uname: Linux 5.4.0-26-lowlatency x86_64
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Fri Dec 3 13:47:26 2021
InstallationDate: Installed on 2017-04-18 (1690 days ago)
InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
SourcePackage: gnome-terminal
UpgradeStatus: Upgraded to focal on 2020-04-25 (587 days ago)
modified.conffile..etc.apport.crashdb.conf: [modified]
mtime.conffile..etc.apport.crashdb.conf: 2020-06-07T21:16:26.397404

Revision history for this message
themusicgod1 (themusicgod1) wrote :
Revision history for this message
themusicgod1 (themusicgod1) wrote :

this doesn't work, though i'm not sure why. it's mostly what I'm going for though

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "something.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
themusicgod1 (themusicgod1) wrote :

So this patch actually *does* kind of work but only on the gnome-terminal level (and includes some shotgun debugging). Something deeper needs to happen in order to actually make this work - ie bringing up a fediverse client of some kind or a web browser if that's not available.

Revision history for this message
themusicgod1 (themusicgod1) wrote :
Revision history for this message
themusicgod1 (themusicgod1) wrote :

this patch works a little better, but still needs a fediverse client to capture the 'send toot' case

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.