Closed Bug 1876691 Opened 2 years ago Closed 14 days ago

Mailto: Linking does not work with Windows Store installation

Categories

(Thunderbird :: OS Integration, defect)

Thunderbird 115
Desktop
Windows
defect

Tracking

(thunderbird_esr140 wontfix)

RESOLVED FIXED
142 Branch
Tracking Status
thunderbird_esr140 --- wontfix

People

(Reporter: admin, Assigned: patrick)

References

Details

Attachments

(1 file)

Steps to reproduce:

Installed Thunderbird by Windows Store.
Thunderbird does not open when clicking on mailto links.

It was tested with Outlook in different versions and also with different devices.
The association in the Windows settings is correct. Registry entries are not found.

Actual results:

Loading Spinner, nothing more.

Expected results:

Open Thunderbird with new mail formular.

Component: Untriaged → OS Integration

I'm experiencing this too, and I'd like to add that this problem happens even when mailto is set to open in Thunderbird in the settings of the browser used to open/click on the mailto link, so the problem is definitely with Thunderbird.

Another example of bug 1933006?

Flags: needinfo?(mkmelin+mozilla)
Flags: needinfo?(ToddAndMargo)

Please cancel the "need info" request. This is not a Thunderbird bug. This is a Firefox bug 1933006

Flags: needinfo?(ToddAndMargo)
Status: UNCONFIRMED → RESOLVED
Closed: 10 months ago
Duplicate of bug: 1933006
Flags: needinfo?(mkmelin+mozilla)
Resolution: --- → DUPLICATE

(Re-opening based on comments in the other bug)

Status: RESOLVED → REOPENED
No longer duplicate of bug: 1933006
Ever confirmed: true
Resolution: DUPLICATE → ---
Duplicate of this bug: 1929888

MSIX AppxManifest was using -osint -url for mailto protocol, which doesn't
properly handle email composition. Changed to -osint -compose to match
the NSIS implementation and provide correct mailto functionality.

r?mkmelin

Assignee: nobody → patrick

I've submitted a potential fix for review (D253110) that addresses the MSIX mailto protocol handler issue.

After analyzing the code, I found that AppxManifest.xml.in was using "-osint -url" for the mailto protocol, while the NSIS installer correctly uses "-osint -compose". This discrepancy appears to be causing mailto links to fail to open properly in Thunderbird when clicked from browsers or other applications.

Unfortunately, I wasn't able to test whether this fix actually resolves the issue. I would appreciate if someone could test this fix.

The proposed fix changes the mailto protocol handler from "-osint -url" to "-osint -compose" to match the working NSIS installer behavior. This should enable mailto links to open correctly in Thunderbird for Windows Store users.

During my analysis, I also noticed that the "news" protocol appears to have the same issue - it uses "-osint -url" in MSIX while NSIS uses "-osint -mail". However, I kept the current fix focused solely on mailto to avoid scope creep. The news protocol issue could be addressed in a separate patch if this fix proves successful.

Target Milestone: --- → 142 Branch

Pushed by kaie@kuix.de:
https://hg.mozilla.org/comm-central/rev/f037ca3832f7
Fix MSIX mailto protocol to use -compose instead of -url r=mkmelin

Patrick, what's left?

Flags: needinfo?(patrick)

I'm a little confused about the status of this bug.
It seems to be fixed in the latest release, is this correct?

Also, will this fix be backported to the current 140 ESR version?

(In reply to Wayne Mery (:wsmwk) from comment #10)

…, what's left?

See https://phabricator.services.mozilla.com/D253110#8874284, but I created bug 2018545 for that.

Severity: -- → S3
Status: REOPENED → RESOLVED
Closed: 10 months ago14 days ago
Flags: needinfo?(patrick)
Keywords: leave-open
OS: Unspecified → Windows
Hardware: Unspecified → Desktop
Resolution: --- → FIXED

(In reply to kai from comment #11)

I'm a little confused about the status of this bug.
It seems to be fixed in the latest release, is this correct?

Per the version field of this bug report, yes.

Also, will this fix be backported to the current 140 ESR version?

Per the updated flag field of this bug report, no.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: