Closed Bug 1690534 Opened 3 years ago Closed 3 years ago

In Version 86.0b1 for Ubuntu 20.04 (snap package) I can no longer open links directly from Thunderbird.

Categories

(Thunderbird :: Untriaged, defect)

Thunderbird 86
x86_64
Linux
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: jakob.drees, Unassigned)

Details

(Keywords: regression)

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:85.0) Gecko/20100101 Firefox/85.0

Steps to reproduce:

Open a mail with a link and try to click the link.

Actual results:

An empty pop-up window prompting me to choose an application to access https-links. The only choice is to "Browse...". Even after select firefox manually ("/usr/bin/firefox") nothing happens. The same pop-up copmes when trying to manually set an https-handler in the settings.

Expected results:

Thunderbird should open the link directly with the default system browser.

Is Thunderbird Beta set as your default Email application and Firefox the default browser in your Ubuntu settings?

I have no problem with links in 86.0b1 emails opening in my default Firefox Nightly on Fedora 33 workstation.

I'm using the beta from Thunderbird Beta

OS: Unspecified → Linux
Hardware: Unspecified → x86_64

Yes, both are set as default applications. I am using the snap version could that be the issue? I have never had any problems in that regard before.

Would try beta2 from thunderbird.net once it's out.

Keywords: regression

I have the same problem and it's beyond annoying. The mail client is almost unusable for me now.
Also can't downgrade my version because it tells me that my profile is now uncompatible with older versions.

Beta2 is out. Did you try that?

(In reply to Magnus Melin [:mkmelin] from comment #5)

Beta2 is out. Did you try that?

Hi,
It is installed via Snap and I'm using Ubuntu. Snap info tells me the current version is 86.0b1. I assume that's Beta 1? How can I update to Beta 2?

Ah, I guess you'll have to wait until they update the snap, which is currently not produced by the core team. Beta2 was just released yesterday.

(In reply to Magnus Melin [:mkmelin] from comment #7)

Ah, I guess you'll have to wait until they update the snap, which is currently not produced by the core team. Beta2 was just released yesterday.

Right. Well anyway, thanks for your help!

Could this be bug 1690176? That did get fixed in beta2.

I just updated to beta3 via snap and the problem still remains.

(In reply to alo from comment #10)

I just updated to beta3 via snap and the problem still remains.

I can confirm that beta3 does not resolve the issue.

(In reply to Jakob Drees from comment #11)

(In reply to alo from comment #10)

I just updated to beta3 via snap and the problem still remains.

I can confirm that beta3 does not resolve the issue.

Are you receiving these bug reports in your 86.0b3?

Does clicking the bug number in the email not open the bug report in your default browser?

I just opened 3 links from one email and 5 bug reports in my default Firefox Nightly by clicking the links in my Thunderbird 86.0b3 installed from Thunderbird Beta in Fedora 33 Workstation.

My conclusion is to use the version from there and forget Snaps.

Flags: needinfo?(jo.bl)
Flags: needinfo?(jakob.drees)

(In reply to WaltS48 [:walts48] from comment #12)

(In reply to Jakob Drees from comment #11)

(In reply to alo from comment #10)

I just updated to beta3 via snap and the problem still remains.

I can confirm that beta3 does not resolve the issue.

Are you receiving these bug reports in your 86.0b3?

Does clicking the bug number in the email not open the bug report in your default browser?

I just opened 3 links from one email and 5 bug reports in my default Firefox Nightly by clicking the links in my Thunderbird 86.0b3 installed from Thunderbird Beta in Fedora 33 Workstation.

My conclusion is to use the version from there and forget Snaps.

No email link opens. I only get a dialog with "Choose an application to open the https link.", there I can only select a file with the browser but selecting /usr/bin/firefox for example does not do anything. And Firefox is set as my default browser everywhere on the system. And the link clicking worked fine before the update like 1-2 weeks ago.

Flags: needinfo?(jo.bl)

(In reply to alo from comment #13)

(In reply to WaltS48 [:walts48] from comment #12)

(In reply to Jakob Drees from comment #11)

(In reply to alo from comment #10)

I just updated to beta3 via snap and the problem still remains.

I can confirm that beta3 does not resolve the issue.

Are you receiving these bug reports in your 86.0b3?

Does clicking the bug number in the email not open the bug report in your default browser?

I just opened 3 links from one email and 5 bug reports in my default Firefox Nightly by clicking the links in my Thunderbird 86.0b3 installed from Thunderbird Beta in Fedora 33 Workstation.

My conclusion is to use the version from there and forget Snaps.

No email link opens. I only get a dialog with "Choose an application to open the https link.", there I can only select a file with the browser but selecting /usr/bin/firefox for example does not do anything. And Firefox is set as my default browser everywhere on the system. And the link clicking worked fine before the update like 1-2 weeks ago.

See comment 7 and try the build from Thunderbird.

I can confirm that clicking links in an email does not work with 86.0 beta3 when using the Snap package. At first I suspected e10s, but disabling multiprocess did not help.

If I try to select Firefox as the https handler using the dialog that comes up, I get an error in the console: NS_ERROR_FILE_TARGET_DOES_NOT_EXIST: Component returned failure code: 0x80520006 (NS_ERROR_FILE_TARGET_DOES_NOT_EXIST) [nsIHandlerInfo.launchWithURI] ContentDispatchChooser.jsm:299

I suspect this is a problem with the Snap container confinement.
Sebastien, do you have any thoughts?

Flags: needinfo?(seb128)

I don't know offhand, do you know what changed between 78 and 86 series in the url handling? The snap is using the upstream builds so probably to do with the confinement, poking a bit clicking on the donate url on the startpage it's calling

["/bin/sh", "-e", "-u", "-c", "export GIO_LAUNCHED_DESKTOP_FILE_PID=$$; exec "$@"", "sh", "env", "https://give.thunderbird.net/en-US/?utm_source=start_page_tb_release&utm_medium=referral&utm_content=paragraph_text"]

which indeed it's not going to work, for flatpak or snaps it should be calling xdg-open but that's not happening, any pointer to the upstream source doing the url handling (and perhaps to code that changed since 78) would be welcome

Flags: needinfo?(seb128)

One visible difference between 78 and 86 is in the new version 'https' is listed in the preferences for files and attachments

The issue seems resolved after upgrading to 87.0b1

(In reply to seb128 from comment #18)

The issue seems resolved after upgrading to 87.0b1

Can confirm it works! The "choose app for https links"-dialog appeared once more, where I had to set the System Handler as the default application for https links. After that every link opens directly in the browser again.

Great, WFM then.

Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Flags: needinfo?(jakob.drees)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.