Closed Bug 1677248 Opened 5 years ago Closed 2 years ago

Thunderbird opens empty mailto tab when embedded mailto link is clicked

Categories

(Thunderbird :: Mail Window Front End, defect)

defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: pchoma2, Unassigned)

References

()

Details

(Keywords: regression)

Attachments

(4 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:82.0) Gecko/20100101 Firefox/82.0

Steps to reproduce:

v78.4.3 & v79.4.2
Received email with RSVP button which invokes mailto:

To join=2C click on the RSVP button below to get the Zoom link and passwor=
d. Laura will be checking her email before and during the event=2C so don'=
t worry about it being too late.
RSVP: Email Laura for Zoom info (mailto:laura@thursdaycontra.com?subject=
=3DZoom%20info%20for%20Nov%2014th%20Pete's%20Posse%20Concert&body=3DI%20re=
ceived%20the%20email%20from%20Mostly%20Waltz%20and%20would%20like%20to%20a=
ttend%20the%20on-line%20concert%20on%20November%2014th%0A%0APlease%20send%=
20me%20the%20zoom%20information.%0A%0A)

Actual results:

Thunderbird opens new tab which just hangs

Expected results:

Should have opened a compose window. I have been told this used to work back in August 2020 with older versions of Thunderbird.
I have been told that this bug also breaks Mailchimp.

Summary: Regression: latest two Thunderbird versions open new tab which hangs on embedded mailto → Thunderbird opens empty hanging mailto tab when embedded mailto link is clicked

Confirmed this is a regression bug.
Open email file under old Thunderbird version 68.3.1, clicked on RSVP button and a compose window came up with no problems.
So the current Thunderbird version no longer supports a capability that worked in the past.

I have the same problem in Thunderbird version 78.4.3.

I have the same problem 78.5 with mailto link in groups.io group. Look at the status bar at the bottom of image

Attached image image.png

Here is a screen shot showing the link at the bottom of the image. TB 78.5 32bit

Major defect. Thunderbird is doomed to end up in the internet boneyard along with Netscape and all the others.

The behavior may be different depending on whether the link has target="_blank". In my testing, links without target="_blank" work, while links with it do not.

I now have this problem with V 78.5.1, it is the first time I've experienced it.
Any email with a Mailto: link opens a new tab that hangs.

The attached demonstrates multiple mailto links that open of a useless tab which never goes on to load anything. The entire source is available if you want more.

I can not find anything in the source mentioning iframes or _blank

This bug appears to have been reported a year ago in Bug 1589968 But regardless. Thunderbird behaviour should not vary regardless of the presence of _Blank. We are the mail client and do not do compose in a new tab, only a new window.

(In reply to Jonathan Kamens from comment #7)

The behavior may be different depending on whether the link has target="_blank". In my testing, links without target="_blank" work, while links with it do not.

My last response here I think demonstrates I at least can reproduce without the presence of _Blank. Perhaps something in the changes in Bug 1638092 has further regressed this.

The status bar does, however, show the unescaped mailto: link, not the escaped one in the source. We have reports on Windows and Linux, so I think we can assume operating systems all.

On trunk, the mailto does open properly. But we also get the blank open tab.
Geoff, any idea where this is handled now?

Status: UNCONFIRMED → NEW
Component: Untriaged → Mail Window Front End
Ever confirmed: true
Flags: needinfo?(geoff)
Summary: Thunderbird opens empty hanging mailto tab when embedded mailto link is clicked → Thunderbird opens empty mailto tab when embedded mailto link is clicked

I see the same.

The protocol itself will be handled in nsSmtpService::NewChannel although I don't know enough about it to know why it appears to work now. We could refuse to open the new tab in nsBrowserAccess (mailWindow.js) but that doesn't really feel right.

Flags: needinfo?(geoff)

I had a different email, which I think falls into same category. Open new windows, but leaves one "Loading..." in the background:

...
<div style=3D"text-align: center;"><a target=3D"_blank" class=3D"cta-button=
" href=3D"mailto:?bcc=3Dnorbert.lins@europarl.europa.eu,ulrike.mueller@euro=
parl.europa.eu,peter.jahr@europarl.europa.eu,christine.schneider@europarl.e=
uropa.eu,marlene.mortler@europarl.europa.eu,herbert.dorfmann@europarl.europ=
a.eu,d.montserrat@europarl.europa.eu,paolo.decastro@europarl.europa.eu,alex=
.agiussaliba@europarl.europa.eu,yana.toom@europarl.europa.eu&subject=3DThe%=
20=E2=80=98End%20the%20Cage%20Age=E2=80=99%20European%20Citizens=E2=80=99%2=
0Initiative%20needs%20your%20voice&body=3DDear%20Member%20of%20the%20Europe=
an%20Parliament,%0D%0A%0D%0AAhead%20of%20the%20upcoming%20European%20Parlia=
ment%20Hearing%20of%20the%20=E2=80=98End%20the%20Cage%20Age=E2=80=99%20Euro=
pean%20Citizens=E2=80=99%20Initiative,%20scheduled%20for%2015%20April%20202=
1,%20I%20ask%20you%20to%20support%20an%20end%20to%20the%20use%20of%20cages%=
20in%20animal%20farming.%0D%0A%0D%0ATogether%20with%201.4%20million%20peopl=
e%20across%20the%20EU%20and%20over%20140%20renowned%20scientists,%20includi=
ng%20Dr.%20Jane%20Goodall,%20I%20call%20on%20you%20to%20spare%20the%20unnec=
essary%20suffering%20of%20the%20hundreds%20of%20millions%20of%20farmed%20an=
imals%20across%20the%20EU.%0D%0A%0D%0AEven%20in%20=E2=80=98enriched=E2=80=
=99%20cages,%20egg-laying%20hens%20have%20only%20the%20space%20of%20about%2=
0an%20A4%20sheet%20of%20paper.%20Rabbits%20raised%20for%20meat%20do%20not%2=
0have%20enough%20space%20to%20perform%20a%20single%20hop.%20Almost%20all%20=
adult%20female%20pigs%20spend%20nearly%20half%20of%20every%20year%20inside%=
20crates,%20in%20which%20they%20cannot%20even%20turn%20around.%0D%0A%0D%0AM=
ajor%20food%20producers%20and%20retailers%20confirmed%20that%20a%20cage-fre=
e%20future%20is%20possible%20and%20called%20on%20the%20EU%20to%20act.%20It%=
20is%20about%20time%20for%20the%20EU%20to%20enter%20the%2021st%20Century%20=
and%20ban%20the%20outdated%20practice%20of%20caging%20animals.%0D%0A%0D%0AY=
ours%20sincerely,%0D%0A%0D%0A...%0D%0A%0D%0A" style=3D"-moz-border-radius: =
3px; -webkit-border-radius: 3px; background-color: #52a733; border-bottom: =
15px solid #52a733; border-left: 25px solid #52a733; border-radius: 3px; bo=
rder-right: 25px solid #52a733; border-top: 15px solid #52a733; color: #fff=
fff; display: inline-block; font-family: absara, Helvetica, Arial, sans-ser=
if; font-size: 16px; font-weight: normal; text-align: center; text-decorati=
on: none;" rel=3D"noopener">Geben Sie den Tieren in Europa eine Stimme</a><=
br /></div>
...

If you need the complete email, please let me know.

I have the same issue on 78.13.0 (64-bit). Interesting that the mailto: links in browsers or PDFs work fine, but from inside TB there's no compose window and a blank tab that appears to be hanging.

Looks like 10 months in this hasn't been officially processed as a bug here at Bugzilla. Any ideas why?

I am using version 91 and the problem has gone away. Download v 91

Steve—Good to know, thanks. If I don't like 91, can I slip back to 78 without problems? I assume 91 is more of a beta, yes?

(In reply to Dave Labrecque from comment #18)

Steve—Good to know, thanks. If I don't like 91, can I slip back to 78 without problems? I assume 91 is more of a beta, yes?

No on both counts. It is the current release version and offered for download on Thunderbird.net. It is just that automatic updates have not been enabled as yet for that version for existing users. Profile per install and profile folder changes resulting in Version 91 makes "slipping back" is just about impossible using the same profile.

Interesting. The fact that it's not on the automatic update channel is what had me thinking it's not quite ready for prime time. Why isn't it on the update channel, if not because it's a bit of a beta version? Do you know? Are there any risks to making the move?

Is that likely why it hasn't been fixed in v. 78? Because it was fixed later, and everybody will get their eventually?

Does this reproduce with version 115?

Flags: needinfo?(pchoma2)
Flags: needinfo?(marie.maurer)
Flags: needinfo?(dave)

This seems to be fixed in TB115? mailto links and don't open a blank tab, as far as I can tell.
Leaving the needinfo flags set for the other respondents to chime in if they're seeing different behavior.

Status: NEW → RESOLVED
Closed: 2 years ago
Flags: needinfo?(pchoma2)
Flags: needinfo?(marie.maurer)
Flags: needinfo?(dave)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: