In-Reply-To, Message-Id headers (mail-messageids-headerfield elements) are empty
Categories
(Thunderbird :: Mail Window Front End, defect)
Tracking
(thunderbird_esr91 wontfix)
Tracking | Status | |
---|---|---|
thunderbird_esr91 | --- | wontfix |
People
(Reporter: henry-x, Unassigned)
Details
(Keywords: leave-open)
Steps to reproduce
- Set the
mailnews.headers.extraExpandedHeaders
preference to"message-id in-reply-to"
. - Restart thunderbird.
- Select a message.
Result
The message header fields are empty (you just see an expander). Also, if you click the expander, you get the following error
Uncaught TypeError: can't access property "length", this.headerValue.children is undefined
_toggleWrap chrome://messenger/content/mailWidgets.js:317
connectedCallback chrome://messenger/content/mailWidgets.js:303
This is because the <mail-messageids-headerfield>
headerValue
property is initialised as a XULElement
https://searchfox.org/comm-central/rev/7a159d31ba0048f86b74e0366040ea13b8c26a4c/mail/base/content/widgets/mailWidgets.js#307 but is set to a string
here https://searchfox.org/comm-central/rev/7a159d31ba0048f86b74e0366040ea13b8c26a4c/mail/base/content/msgHdrView.js#1239
Expect
The header values to be shown. This is probably meant to have a headerValue
setter, like https://searchfox.org/comm-central/rev/7a159d31ba0048f86b74e0366040ea13b8c26a4c/mail/base/content/widgets/mailWidgets.js#70
Reporter | ||
Updated•3 years ago
|
Comment 1•3 years ago
|
||
Good finding and great analysis.
All those Custom elements header fields should be converted into pure HTML and their internal structure should be drastically simplified.
Updated•3 years ago
|
Comment 2•2 years ago
|
||
This was fixed by the work done on bug 1764652.
Description
•