Thunderbird erroneously displays incorrect additional email address in To list.
Categories
(Thunderbird :: Message Reader UI, defect, P1)
Tracking
(Not tracked)
People
(Reporter: bc, Assigned: mkmelin)
Details
(Keywords: regression)
Attachments
(1 file)
|
18.53 KB,
patch
|
khushil324
:
review+
|
Details | Diff | Splinter Review |
I just noticed a problem with the display of messages in Thunderbird 74.0a1 20200117095219 on Fedora 31 x86_64.
It appeared I had sent a personal email and accidentally included dev-platform@lists.mozilla.org, fx-team@mozilla.com and qa-leads@mozilla.com in the To: list when I sent it. I was mortified but on closer investigation the message did not appear in the news groups or mailing lists and it was a red-herring. On closer inspection of my emails, I found every email showed these extra email addresses in the To: list even though the view source for the email did not show them. Quitting Thunderbird and restarting resolved the issue.
I did see a lot of "XUL box for mail-messageid element contained an inline #text child, forcing all its children to be wrapped in a block." messages in the error console.
I can't for certain blame it on today's build since it is possible I missed it since I don't normally read mail I've already sent.
I don't have steps to reproduce but I'll comment here if I do.
| Reporter | ||
Updated•5 years ago
|
| Assignee | ||
Comment 1•5 years ago
|
||
This seems to be reproducible: have two messages in a folder: one with many recipients and one with one. Switching back to the one with just one will not update it properly.
Recent regression, but hard to see exactly when since there was bug 1609420 and before that (2020-01-07) doesn't show the bug. Maybe need to set a userChrome.css with
.emailDisplayButton { display: -moz-inline-box !important }
Comment 2•5 years ago
|
||
In my case, it happens when I reply to a message with several folk on the original's To list, but not on my reply.
Even though I reply only to the Sender, cc me, my copy appears to show it being sent to the original To list.
However, it's only wrong in the front-end: if I look at the source with Ctrl-U, it's correct.
The problem survives a TB restart, too. If I restart, and look at the same messages again, the error returns, even though I've sent no email in this instance of TB.
MacOS Daily 2020-01-20. Has been there for a few days, at least.
| Assignee | ||
Comment 4•5 years ago
|
||
I ended up reworking this code, which did things in a quite strange way. The old code was needlessly creating children it wouldn't ever show under normal circumstances, and then re-use the old children later if need be. This caching wasn't a very good idea. For the normal case to just add the addresses we'll show will be much faster if the email has many recipients. But looks like I get a speedup of 10-30% for the case when clicking open the "xxx more" too.
Sent to try now: https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=0a253583662a693604e4801bec6ce15c2465a27b
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Comment 5•5 years ago
|
||
Comment 6•5 years ago
|
||
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/5982cbb01992
rework mail-multi-emailheaderfield to always just create the children it needs, and not cache+update old ones. r=khushil DONTBUILD
Comment 8•5 years ago
•
|
||
Comment 9•5 years ago
|
||
Well, sadly the debugging code was landed :-(
Comment 10•5 years ago
|
||
Looks good to me, in Daily 20200122; thanks very much indeed for the quick response.
| Assignee | ||
Comment 11•5 years ago
|
||
Removed the debugging that slipped in with https://hg.mozilla.org/comm-central/rev/5469eaff743f77211543cd2efca845054855b026
Comment 12•5 years ago
|
||
Since when do we merge unrelated changes into other bugs? :-( - There would have been no additional cost in doing a separate changeset.
| Assignee | ||
Comment 13•5 years ago
|
||
It was just a one line debug remove, so I didn't see the need.
Comment 14•5 years ago
|
||
There's always a need to follow the rules, even for the technical manager. A patch carries the bug number where the changes are tracked. Please refer to https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/How_to_Submit_a_Patch#Creating_a_patch.
Comment 15•5 years ago
|
||
There rules are there to avoid creating a dependency with another bug. Say someone wanted to back out this bug for some reason. They would then create a dependency with bug 1594000. In case of an uplift, we'd also have pull in some bits of another bug. Sure, we're not backing it out and we're not uplifting it, but there really is no good reason to not adhere to proper process. Especially a senior developer should set a good example.
Description
•