thread pane subject shows "ZZZZZZZZZZZZZZZZZ...." instead of subject "CA+IRD=?"
Categories
(Thunderbird :: Mail Window Front End, defect)
Tracking
(Not tracked)
People
(Reporter: eggsperde, Unassigned)
Details
Attachments
(1 file)
10.17 KB,
image/png
|
Details |
Comment 1•11 years ago
|
||
Comment 3•10 years ago
|
||
Comment 5•4 years ago
|
||
That's a blast from the past... yes, just checked, still bad. I recently upgraded T'bird to 78.10.0 on Windows 10. A message that I received in July 2015 still shows this problem. Just grabbed some screen shots, which I can email if you need them - let me know. I'm guessing some code is interpreting =? as flagging non-ASCII when it shouldn't, and then getting an exception, and then mishandling the exception.
It's certainly subtle and it's possibly due to a defect in the sending user agent, but it still seems like a bug.
Comment 6•4 years ago
|
||
I have just noticed that in the raw message that triggers the bug, we have:
Subject: RE: [Supa] [Anima] SUPA-Intent =? ANMA-Intent
but in a message in the same thread that doesn't trigger the bug, we have:
Subject: Re: [Supa] [Anima] =?us-ascii?Q?SUPA-Inten?==?us-ascii?Q?t_=3D=3F?= ANMA-Intent
This pretty much confirms that the problem is in handling the charset encoding. Of course, there isn't any charset encoding but Thunderbird thinks there is when it sees =? - but not everywhere, there must be at least two places where it preps the subject for display, and one of them is wrong.
Comment 7•4 years ago
|
||
This looks like a dupe of Bug 1466343 to me.
(In reply to Brian E Carpenter from comment #6)
I have just noticed that in the raw message that triggers the bug, we have:
Subject: RE: [Supa] [Anima] SUPA-Intent =? ANMA-Intent
Works for me with TB78.10
Is it possible that the broken subject is still stored in your database from before?
Please copy the email to another folder. Is the subject displayed correctly now?
(Another possibility would be context menu -> Properties -> General Information -> [Repair Folder] )
Comment 8•4 years ago
|
||
TL;DR: The bug must lie in the initial creation of the .msf file and is indeed fixed by Repair Folder. But it's still current.
I've already tried isolating a copy in a separate folder: I see a ZZZZ subject. I also tried saving the message as a .eml file and then opening it with T'bird: no problem, the subject displays correctly. So then I created a new test folder with two copies - one by copying the original message, and one by copying the .eml version. When I open that test folder, the copy of the original shows the ZZZ subject and the copied .eml file shows the correct subject.
Then I diffed the two halves of the test folder. The only difference between the "bad" and the "good" messages is that the bad one starts:
From - Thu Jul 23 23:08:14 2015
X-Account-Key: account3
X-UIDL: GmailId14eba668752e1aac
X-Mozilla-Status: 0011
X-Mozilla-Status2: 00000000
X-Mozilla-Keys:
Delivered-To: brian.e.carpenter@gmail.com
but the good one starts:
From - Tue May 04 08:29:59 2021
X-Mozilla-Status: 0001
X-Mozilla-Status2: 00000000
X-Mozilla-Keys:
X-Account-Key: account3
X-UIDL: GmailId14eba668752e1aac
X-Mozilla-Status: 0011
X-Mozilla-Status2: 00000000
X-Mozilla-Keys:
Delivered-To: brian.e.carpenter@gmail.com
Here's the kicker. To repeat: I see the bug in a brand new folder with a brand new .msf file. But indeed, if I then "repair" the folder, the bug disappears. So, I captured the .msf file before and after the "repair", including:
Before repair:
<(86=11)(87=5b)(88=John Strassner <John.sc.Strassner@huawei.com>)(89
=Brian E Carpenter <brian.e.carpenter@gmail.com>, Laurent Ciavaglia <Laure
nt.Ciavaglia@alcatel-lucent.com>, anima <anima@ietf.org>, "supa@ietf.org" <sup
a@ietf.org>)(8A
=ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ
ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ$7F)
After repair:
<(8B=11)(8C=5b)(8D=John Strassner <John.sc.Strassner@huawei.com>)(8E
=Brian E Carpenter <brian.e.carpenter@gmail.com>, Laurent Ciavaglia <Laure
nt.Ciavaglia@alcatel-lucent.com>, anima <anima@ietf.org>, "supa@ietf.org" <sup
a@ietf.org>)(9D=[Supa] [Anima] SUPA-Intent =? ANMA-Intent)
So even in a folder created with 78.10.0, the initial .msf file can exhibit the bug but Repair fixes it. There must be a difference between the two code paths (.msf file creation and Repair). I grok Python but I really don't have time to study the code...
Brian
Updated•3 years ago
|
Description
•