Bug 2320090

Summary: Firefox fails to open mailto URLs with thunderbird
Product: [Fedora] Fedora Reporter: Dimitris <dimitris.on.linux>
Component: firefoxAssignee: Gecko Maintainer <gecko-bugs-nobody>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 40CC: benjiwiebe, erack, gecko-bugs-nobody, iam, jhorak, klaas, pierre-bugzilla, robatino, rstrode, suraj.ghimire7
Target Milestone: ---Keywords: Desktop, Regression, Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: firefox-133.0.3-2.fc42 firefox-133.0.3-2.fc41 firefox-133.0.3-2.fc40 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-12-19 04:08:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dimitris 2024-10-20 22:42:42 UTC
Thunderbird (currently 128.3.2-1.fc40) is not being invoked properly from Firefox (currently 131.0.3-1.fc40):

$ xdg-settings get default-url-scheme-handler mailto
org.mozilla.thunderbird.desktop

There's no override for Thunderbird under ~/.local/share/applications.

With TB already running, when attempting to open a mailto: url from a web page on Firefox, after a few seconds I get a TB error about TB "already running or use a different profile".

Reproducible: Always

Steps to Reproduce:
1. Start Firefox and Thunderbird.
2. In Firefox settings, under Applications, select "Thunderbird (default)".
3. Navigate to a page with a mailto: URL e.g. https://www.w3docs.com/snippets/html/how-to-create-mailto-links.html and click on a mailto: link.
4. After a few seconds, a popup appears with the message: "Thunderbird is already running, but is not responding. To use Thunderbird, you must first close the existing Thunderbird process, restart your device, or use a different profile."
5. However, from the command line, "xdg-open example" correctly gets a new email editor window from the running TB opened.
Actual Results:  
Invocation from Firefox seems to try to start a new TB process.

Expected Results:  
Should invoke TB such that the new email window is opened if TB is already running.

Not sure when this regressed as I don't click on mailto: often, but it used to work some time (months?) ago, potentially back in version 115.

Comment 1 Benji Wiebe 2024-10-30 16:04:21 UTC
I created a fresh VM of Fedora 40 KDE Plasma (using netinstall, so up-to-date), and dnf installed Firefox (version 131.0.3) and Thunderbird (128.3.3esr). Opening Thunderbird and Firefox, then clicking mailto: links in Firefox does indeed reproduce the bug.

However, if you download and install Firefox 132 from mozilla.org, extract it, and launch *that* copy of Firefox, mailto: links work as expected.
Just to confirm that this is a Fedora packaging issue. (unless it was fixed between FF 131 and 132??)

Comment 2 Dimitris 2024-10-31 03:03:55 UTC
Still reproduces with packaged version 132.0-2.fc41

Comment 3 Pierre Ossman 2024-11-29 06:19:05 UTC
Any progress with this? It's a rather large annoyance. :/

Comment 5 Fedora Update System 2024-12-16 13:30:28 UTC
FEDORA-2024-1ee5ce9a79 (firefox-133.0.3-2.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-1ee5ce9a79

Comment 6 Fedora Update System 2024-12-16 15:04:49 UTC
FEDORA-2024-1ee5ce9a79 (firefox-133.0.3-2.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2024-12-17 06:06:17 UTC
FEDORA-2024-761b3cc40f (firefox-133.0.3-2.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-761b3cc40f

Comment 8 Fedora Update System 2024-12-17 06:06:18 UTC
FEDORA-2024-bfbf253c2b (firefox-133.0.3-2.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-bfbf253c2b

Comment 9 Fedora Update System 2024-12-19 04:08:18 UTC
FEDORA-2024-761b3cc40f (firefox-133.0.3-2.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2024-12-19 05:30:46 UTC
FEDORA-2024-bfbf253c2b has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-bfbf253c2b`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-bfbf253c2b

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Fedora Update System 2024-12-20 12:37:59 UTC
FEDORA-2024-bfbf253c2b (firefox-133.0.3-2.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.