Bug 277246 - Messages are not really being marked as read in KMail.
Summary: Messages are not really being marked as read in KMail.
Status: RESOLVED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: IMAP resource (show other bugs)
Version: 4.7
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Kevin Ottens
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-06 22:31 UTC by Artyom Aleksyuk
Modified: 2011-12-19 19:03 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Artyom Aleksyuk 2011-07-06 22:31:53 UTC
Version:           4.7 (using Devel) 
OS:                Linux

KMail 2.0.95 (also reproduceable on 4.4.11.1), Akonadi 1.5.80, KDE 4.7 RC1.

Reproducible: Always

Steps to Reproduce:
Use Yandex.Mail over IMAP.

Actual Results:  
KMail 2.x: When clicking on unread letter, it's marked as readed. But if I'm updating a folder (using folder's context menu), this letter becomes unread.
KMail 1.x: When clicking on unread letter, this message appears http://dl.dropbox.com/u/1830526/kmail.png

Expected Results:  
After folder update, a letter should remain marked as readed.

Sniffed data.
KMail, problem appears:

> 2011/07/02 18:35:30.785479  length=153 from=2277 to=2429
35 UID STORE 4604 -FLAGS.SILENT (\\SEEN \\ANSWERED \\FLAGGED \\DRAFT KMAILFORWARDED KMAILTODO KMAILWATCHED KMAILIGNORED $FORWARDED $TODO $WATCHED $IGNORED)\r
< 2011/07/02 18:35:30.920873  length=42 from=511223 to=511264
35 NO [UNAVAILABLE] STORE command failed: < 2011/07/02 18:35:30.973527  length=45 from=511265 to=511309
Internal error, try contacting tech-support\r

Claws Mail 3.7.9, all is OK:

> 2011/07/05 17:11:03.579244  length=41 from=1545 to=1585
33 UID STORE 4652 +FLAGS.SILENT (\\Seen)\r
< 2011/07/05 17:11:03.634202  length=23 from=98512 to=98534
33 OK STORE completed\r

Thunderbird 5 also works fine. Don't reproduces with GMail's IMAP.
Comment 1 Cédric Bellegarde 2011-08-22 07:45:05 UTC
Same bug here, marking mail as read is totally buggy :-(

Archlinux, KDE 4.7
Comment 2 Kevin Ottens 2011-09-17 13:28:14 UTC
Is it still happening for you with 4.7.1? We got a fix related to that which should have been backported to this version. Otherwise I'd advise testing again on 4.8 when it is out and reopening if that still shows up.

If that shows up, please give again the IMAP log as you did initially, maybe with a bit more context (like all the way up to the SELECT for instance), it helps a lot.
Comment 3 Artyom Aleksyuk 2011-10-08 10:29:45 UTC
Akonadi 1.6.0, kdepim 4.7.2 - sometimes works, sometimes doesn't works. But more often doesn't works :(
I'll send you a more comprehensive report later.
Comment 4 Christophe Marin 2011-10-09 15:59:32 UTC
> Akonadi 1.6.0, kdepim 4.7.2

Which distribution should be blamed for shipping Akonadi 1.6.0 ?
Comment 5 Artyom Aleksyuk 2011-12-19 19:03:56 UTC
Looks like Yandex's IMAP is completely full of bugs, ever when using it with such popular clients like Thunderbird. I switched to GMail several days ago.