App Menu Attachment submenu is empty
Categories
(Thunderbird :: Mail Window Front End, defect)
Tracking
(thunderbird_esr91+ fixed, thunderbird94+ verified)
People
(Reporter: henry-x, Assigned: henry-x)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
48 bytes,
text/x-phabricator-request
|
wsmwk
:
approval-comm-beta+
wsmwk
:
approval-comm-esr91+
|
Details | Review |
Steps to Reproduce
- Open a message with an attachment.
- Open the app menu panel.
- Click "Attachments".
- 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.
Assignee | ||
Updated•3 years ago
|
Comment 1•3 years ago
|
||
Thanks, can you submit a patch?
Assignee | ||
Comment 2•3 years ago
|
||
(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.
Updated•3 years ago
|
Comment 3•3 years ago
|
||
No that's fine to restore.
Assignee | ||
Comment 4•3 years ago
|
||
This reverts the changes to panelUI.js in rev 3d2b9c2c3285 since event.explicitOriginalTarget differs from event.target in this event handler.
Updated•3 years ago
|
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/5ab3d8e77adf
Use explicitOriginalTarget again in panelUI _onAttachmentViewShow. r=mkmelin
Assignee | ||
Comment 6•3 years ago
|
||
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.
Comment 7•3 years ago
|
||
Comment on attachment 9244558 [details]
Bug 1734360 - Use explicitOriginalTarget again in panelUI _onAttachmentViewShow. r=mkmelin
[Triage Comment]
Approved for beta
Comment 8•3 years ago
|
||
bugherder uplift |
Thunderbird 94.0b2:
https://hg.mozilla.org/releases/comm-beta/rev/2783b5a0f87e
Comment 9•3 years ago
|
||
Verified in my testing of the 94.0b2 release candidate on Fedora 34.
Updated•3 years ago
|
Assignee | ||
Comment 10•3 years ago
|
||
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.
Comment 11•3 years ago
|
||
Comment on attachment 9244558 [details]
Bug 1734360 - Use explicitOriginalTarget again in panelUI _onAttachmentViewShow. r=mkmelin
[Triage Comment]
Approved for ers91
Comment 12•3 years ago
|
||
bugherder uplift |
Thunderbird 91.2.1:
https://hg.mozilla.org/releases/comm-esr91/rev/6c25b71591e1
Description
•