Closed Bug 1617461 Opened 5 years ago Closed 4 years ago

messageDisplay APIs don't take account of multiple message selection

Categories

(Thunderbird :: Add-Ons: Extensions API, defect)

defect
Not set
normal

Tracking

(thunderbird_esr78+ fixed)

RESOLVED FIXED
81 Branch
Tracking Status
thunderbird_esr78 + fixed

People

(Reporter: standard8, Assigned: standard8)

References

Details

(Whiteboard: [TB 78.4.0])

Attachments

(2 files)

Selecting multiple messages is a possibility in Thunderbird and Thunderbird displays the summary for them, however the messageDisplay APIs only take account of a single message being displayed.

I'm part way through a patch for this. I'll be creating two new APIs - getDisplayedMessages and onMessagesDisplayed. I don't think it makes sense to try and work this into the existing APIs, since the returned values would be fundamentally different.

Assignee: nobody → standard8
Status: NEW → ASSIGNED
Depends on: 492216

Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/comm-central/rev/2c98bae7c64e
Reorganise browser_ext_messageDisplay.js to make it simpler and clearer. r=darktrojan
https://hg.mozilla.org/comm-central/rev/7a23c935ef44
Add apis for getting and receiving events when single and multiple messages are selected. r=darktrojan

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch
Pushed by geoff@darktrojan.net: https://hg.mozilla.org/comm-central/rev/4b8c06a3eace follow-up - Fix schema files to match documentation. rs=docs-only

Comment on attachment 9166141 [details]
Bug 1617461 - Add apis for getting and receiving events when single and multiple messages are selected. r?darktrojan!

[Approval Request Comment]
WX api correctness fixes, have baked for a while already.

Attachment #9166141 - Flags: approval-comm-esr78?

Comment on attachment 9166141 [details]
Bug 1617461 - Add apis for getting and receiving events when single and multiple messages are selected. r?darktrojan!

[Triage Comment]
Approved for esr78

Attachment #9166141 - Flags: approval-comm-esr78? → approval-comm-esr78+
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Whiteboard: [TB 78.4.0]
Status: REOPENED → RESOLVED
Closed: 4 years ago4 years ago
Resolution: --- → FIXED

Hm, it looks like
https://hg.mozilla.org/comm-central/rev/4b8c06a3eace
was backed out but never made it back in?

Flags: needinfo?(rob)

Yeah, looks like it...

Background info... After the massive failure building 78.3.2 that led to the backout, Geoff made a mercurial bundle for me with the MailExtension API changes that would going into 78.4.0. That bundle file only had two of the three commits from this bug apprentley and it went unnoticed.

Per our conversation in Matrix, I'll uplift it now since it only affects documentation so that you're not blocked on the mailextension docs work.

Flags: needinfo?(rob)

Previously missed uplift, documentation only.

Thunderbird 78.6.1:
https://hg.mozilla.org/releases/comm-esr78/rev/e755d66418c5

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

Attachment

General

Created:
Updated:
Size: