Bug 2874 - Claws shows wrong subject in folder contents
Summary: Claws shows wrong subject in folder contents
Status: RESOLVED INVALID
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: Folders/IMAP (show other bugs)
Version: other
Hardware: PC Linux
: P3 normal
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2013-02-06 15:15 UTC by Tom Horsley
Modified: 2013-02-07 12:11 UTC (History)
1 user (show)

See Also:


Attachments
The correct display in thunderbird (107.71 KB, image/png)
2013-02-06 15:16 UTC, Tom Horsley
no flags Details
The busted display in claws-mail (130.58 KB, image/png)
2013-02-06 15:17 UTC, Tom Horsley
no flags Details
claws-mail --debug output (48.52 KB, text/plain)
2013-02-06 16:16 UTC, Tom Horsley
no flags Details

Description Tom Horsley 2013-02-06 15:15:48 UTC
I have a local dovecot IMAP server. When I open one folder I see a summary of the messages in it, and several messages duplicate the subject line from different messages. Doing a "view source" shows the correct Subject: in the mail, but the subject shown in the summary doesn't match.

If I define a thunderbird (blech) account to point to the same IMAP account, lookinig at the same folder shows the correct subject lines.

I'll attach screen shots of the claws and thunderbird windows.
Comment 1 Tom Horsley 2013-02-06 15:16:46 UTC
Created attachment 1226 [details]
The correct display in thunderbird
Comment 2 Tom Horsley 2013-02-06 15:17:48 UTC
Created attachment 1227 [details]
The busted display in claws-mail
Comment 3 Tom Horsley 2013-02-06 15:41:13 UTC
Forgot to mention this is using claws-mail in Fedora 18:

claws-mail-3.9.0-1.fc18.x86_64
Comment 4 Paul 2013-02-06 15:53:10 UTC
Try using "/View/Update summary"

If that makes no difference, right-click the folder, click 'Properties', click the 'Discard folder cache' button on the 'General' page.
Comment 5 Tom Horsley 2013-02-06 16:00:44 UTC
I gave both of those a try. The discard cache made the window redraw, but it redrew with the exact same incorrect subjects. Seems to be doing it on purpose :-).

I also checked headers like Message-ID and Thread-Index and they all seem to have different values in the different messages.
Comment 6 Paul 2013-02-06 16:03:18 UTC
Can you run `claws-mail --debug` and attach the relevent debug info when you open the folder, update summary, discard the cache. Also provide any other info that you think is relevant.
Comment 7 Tom Horsley 2013-02-06 16:16:54 UTC
Created attachment 1228 [details]
claws-mail --debug output

During this debug, I started claws, right clicked the aquainbox folder and cleared the cache, it redrew wrong again, then I exited.

Not sure what else might be relevant.

I could provide copies of the mail if that would be useful (they don't have any classified info in them or anything). If you want them, tell me the best way to make the copy so it will be useful to you.
Comment 8 Tom Horsley 2013-02-06 18:11:44 UTC
As an even bigger "flush cache" hammer, I renamed my ~/.claws-mail directory and started claws-mail and let it run the wizard to start fresh, defining the same IMAP account, and by golly the duplicated subject lines still show up :-).
Comment 9 Paul 2013-02-06 18:16:32 UTC
then you can look to the server side
Comment 10 Tom Horsley 2013-02-06 18:27:49 UTC
Except for the fact that a different IMAP client doesn't have the problem.
Comment 11 Paul 2013-02-06 19:13:26 UTC
that is true, but also people with a similar set up to yours do not have your problem. So it could be something particular to your setup.

Is this a recent problem? Was there a period previously where it worked as it should?
Comment 12 Tom Horsley 2013-02-06 19:30:37 UTC
Actually, I tried a 3rd email client (kmail) and it also showed the same duplication of subjects. That makes it seem much more likely to really be a dovecot problem after all. (I should have known better than to use thunderbird for anything :-).

Here's the redhat bugzilla:

https://bugzilla.redhat.com/show_bug.cgi?id=908459
Comment 13 Colin Leroy 2013-02-07 09:27:01 UTC
Hi Tom,

Thanks for your in-depth Dovecot investigation, we were at a loss at what could be wrong Claws-side.

I wonder how Thunderbird manages to avoid the problem. Maybe you can workaround it by toggling "Low bandwidth mode" to the other value in your IMAP account preferences (Receive tab).

Keep us informed of the bug resolution :)

In the meantime I'm closing this as INVALID as it really seems it isn't our bug.
Comment 14 Tom Horsley 2013-02-07 12:11:23 UTC
I have a feeling thunderbird works by being very stupid and just reading the whole message to extract the subject from the body and doesn't take advantage of any of the hints the server could supply (but that's just a guess).

Note You need to log in before you can comment on or make changes to this bug.