Closed Bug 1734360 Opened 3 years ago Closed 3 years ago

App Menu Attachment submenu is empty

Categories

(Thunderbird :: Mail Window Front End, defect)

Thunderbird 90
defect

Tracking

(thunderbird_esr91+ fixed, thunderbird94+ verified)

VERIFIED FIXED
95 Branch
Tracking Status
thunderbird_esr91 + fixed
thunderbird94 + verified

People

(Reporter: henry-x, Assigned: henry-x)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Steps to Reproduce

  1. Open a message with an attachment.
  2. Open the app menu panel.
  3. Click "Attachments".
  4. Click one of the attachments.

Result

The panel is empty. And there is an error in the console

Uncaught TypeError: attachment is undefined
    _onAttachmentViewShow chrome://messenger/content/customizableui/panelUI.js:761

Expect

The panel to fill with "Open", "Save As...", etc.

Origin

I think this is caused by https://hg.mozilla.org/comm-central/rev/3d2b9c2c3285#l7.12 since restoring the line fixes this.

Thanks, can you submit a patch?

Assignee: nobody → henry
Keywords: regression

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

Thanks, can you submit a patch?

Do you mind restoring the use of explicitOriginalTarget despite bug 1699809? I'm not sure if there would be an easy fix otherwise.

Version: unspecified → Thunderbird 90

No that's fine to restore.

This reverts the changes to panelUI.js in rev 3d2b9c2c3285 since event.explicitOriginalTarget differs from event.target in this event handler.

Status: NEW → ASSIGNED
Target Milestone: --- → 95 Branch

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/5ab3d8e77adf
Use explicitOriginalTarget again in panelUI _onAttachmentViewShow. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED

Comment on attachment 9244558 [details]
Bug 1734360 - Use explicitOriginalTarget again in panelUI _onAttachmentViewShow. r=mkmelin

[Approval Request Comment]
Regression caused by (bug #): 1699809
User impact if declined: Attachment item in the App Menu is empty and unusable
Testing completed (on c-c, etc.): No tests
Risk to taking this patch (and alternatives if risky): Low risk. This is just reverting a single line from https://hg.mozilla.org/comm-central/rev/3d2b9c2c3285#l7.12 which did not interact with the rest of the patch, and it was not trying to change or fix behaviour.

Attachment #9244558 - Flags: approval-comm-beta?

Comment on attachment 9244558 [details]
Bug 1734360 - Use explicitOriginalTarget again in panelUI _onAttachmentViewShow. r=mkmelin

[Triage Comment]
Approved for beta

Attachment #9244558 - Flags: approval-comm-beta? → approval-comm-beta+

Verified in my testing of the 94.0b2 release candidate on Fedora 34.

Status: RESOLVED → VERIFIED

Comment on attachment 9244558 [details]
Bug 1734360 - Use explicitOriginalTarget again in panelUI _onAttachmentViewShow. r=mkmelin

[Approval Request Comment]
Regression caused by (bug #): 1699809
User impact if declined: Attachment item in the App Menu is empty and unusable
Testing completed (on c-c, etc.): Verified on 94 beta.
Risk to taking this patch (and alternatives if risky): Low risk. This is just reverting a single line from https://hg.mozilla.org/comm-central/rev/3d2b9c2c3285#l7.12 which did not interact with the rest of the patch, and it was not trying to change or fix behaviour.

Attachment #9244558 - Flags: approval-comm-esr91?

Comment on attachment 9244558 [details]
Bug 1734360 - Use explicitOriginalTarget again in panelUI _onAttachmentViewShow. r=mkmelin

[Triage Comment]
Approved for ers91

Attachment #9244558 - Flags: approval-comm-esr91? → approval-comm-esr91+
Blocks: 1752280
No longer blocks: 1752280
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: