Context menu option "Copy Message" in the message list does not work
Categories
(Thunderbird :: Mail Window Front End, defect)
Tracking
(Not tracked)
People
(Reporter: TbSync, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: regression, Whiteboard: [Supernova3p])
Error output:
JavaScript error: chrome://messenger/content/mailCommon.js, line 171: TypeError: can't access property "startsWith", window.gMessageURI is undefined
Reporter | ||
Comment 1•2 years ago
|
||
There are multiple issues here.
The variable gMessageURI
is set in aboutMessage.js
, which means it is never set, when the message pane is disabled.
https://searchfox.org/comm-central/rev/5ecdae89921e4af3ed68a4b96ede25f6bc1c0e0c/mail/base/content/aboutMessage.js#112
Furthermore, the context click does not the select the message. Even if the message pane is enabled, the copy command tries to copy the last selected message, not the message we context-clicked on. (I think a context click should select the message)
The copy command is looking for gMessageURI
on the window object of the message list and does not see it, because it is defined on the window of the message pane.
Comment 2•2 years ago
|
||
If this isn't supernova related, please obliterate my changes
Updated•2 years ago
|
Comment 3•2 years ago
|
||
Bug 1815619 fixed part of it at least.
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Comment 4•2 years ago
|
||
John, is this still happening?
Could you provide a bit more info on an STR, as well as the location of the "Copy Message" in context menu?
Reporter | ||
Comment 5•2 years ago
|
||
It has been fixed elsewhere \o/.
Edit: It was the "copy to" context menu of the thread pane. Sorry for being sloppy in the bug title.
Description
•