macOS application support to handle mid: URL scheme
Categories
(Thunderbird :: OS Integration, defect)
Tracking
(thunderbird_esr91 fixed, thunderbird98 fixed)
People
(Reporter: bugzilla, Assigned: rnons)
Details
Attachments
(1 file)
48 bytes,
text/x-phabricator-request
|
wsmwk
:
approval-comm-beta+
wsmwk
:
approval-comm-esr91+
|
Details | Review |
Steps to reproduce:
Try to open a mid: URL in Thunderbird, i.e., executed open -a /Applications/Thunderbird.app mid:<message-id>
.
Actual results:
Thunderbird opened but did not display the correct message.
Expected results:
Now that Thunderbird has support for the mid: URL scheme (bug 264270), it would be great if the macOS Thunderbird application can register with the operating system as being able to handle that URL scheme. That would allow a mid: URL to be opened from elsewhere in macOS, and Thunderbird open to display the correct email message.
Assignee | ||
Comment 1•3 years ago
|
||
/Applications/Thunderbird.app/Contents/MacOS/thunderbird mid:<message-id>
seems to work for me.
(In reply to Ping Chen (:rnons) from comment #1)
/Applications/Thunderbird.app/Contents/MacOS/thunderbird mid:<message-id>
seems to work for me.
Yes, that works fine. However, Thunderbird does not tell macOS that it can handle the mid: URL scheme, and so neither open -a /Applications/Thunderbird.app mid:<message-id>
, nor open mid:<message-id>
, nor clicking a mid:<message-id>
from, say, where I put it in my TODO application, will open the correct message in Thunderbird.
Actually, I'm changing this from an enhancement request to a defect: I see that Thunderbird is setting itself as the default handler for the mid protocol (see nsMacShellService.cpp). Indeed, when I click a mid:<message-id>
link or execute open mid:<message-id>
, Thunderbird will open.
However, it is failing to correctly handle the open URL requests that it receives from macOS: it does not open the specified message.
Assignee | ||
Comment 4•3 years ago
|
||
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/c1f09dc7c6c2
Fix opening mid url on macOS by dropping the -url flag. r=mkmelin
Assignee | ||
Comment 6•3 years ago
|
||
Comment on attachment 9263688 [details]
Bug 1753887 - Fix opening mid url on macOS by dropping the -url flag. r=mkmelin
[Approval Request Comment]
Regression caused by (bug #):
User impact if declined: Open mid: url from browser or open
cli doesn't work on macOS .
Testing completed (on c-c, etc.): c-c
Risk to taking this patch (and alternatives if risky): low
Comment 7•3 years ago
|
||
Comment on attachment 9263688 [details]
Bug 1753887 - Fix opening mid url on macOS by dropping the -url flag. r=mkmelin
[Triage Comment]
Approved for beta
Comment 8•3 years ago
|
||
bugherder uplift |
Thunderbird 98.0b3:
https://hg.mozilla.org/releases/comm-beta/rev/c046cfdc48e9
Comment 9•3 years ago
|
||
Comment on attachment 9263688 [details]
Bug 1753887 - Fix opening mid url on macOS by dropping the -url flag. r=mkmelin
[Triage Comment]
Approved for esr91
Comment 10•3 years ago
|
||
bugherder uplift |
Thunderbird 91.8.0:
https://hg.mozilla.org/releases/comm-esr91/rev/19b7b575ed13
Description
•