Bug 291503

Summary: Can't select and delete message
Product: [Applications] kmail2 Reporter: Alexander <vo.zaeb>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: gerrysw11, quazgar, reavertm, vo.zaeb, winter
Priority: NOR    
Version: 4.8   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Not accessible messages
Can't delete emails

Description Alexander 2012-01-14 10:22:38 UTC
Created attachment 67810 [details]
Not accessible messages

Version:           4.8 (using Devel) 
OS:                Linux

I have sent some emails to myself and deleted them from the "sent" folder. They appeared in the "trash" folder so I have deleted them from here too. But they appeared again and now they grayed and I can't select and delete them.

Reproducible: Sometimes

Steps to Reproduce:
I don't actually know an exact way, this is what I did:
Sent few emails from my one email account to other, deleted sent mails from the sent folder and then immediately deleted them from the trash.

Actual Results:  
KMail notifying me that I have one unread email but it actually don't allow me to read or at least delete it. So I logged in to my gmail account through web interface and deleted mentioned emails but they still displayed in kmail and I don't even know what to do.

Expected Results:  
This shouldn't happen at all. Actually, why to display such emails If user is unable to manage them? Moreover, one of these messages is still marked as unread but I read it few times and in kmai settings I have "mark selected mail as read after 0 seconds".

I have already noticed such behavior before. Also KMail doesn't mark messages as read. Actually it mark them as read, but after the next email check messages again appears as unread (but not all, some of them remain read). This happens every time, not every day but exactly every time I receive new mail, so I already used a little to check almost every message twice.
Comment 1 quazgar 2012-02-05 16:23:37 UTC
Just to check that this is not a duplicate (see bug #278887): This is not for mbox mail resources?
Comment 2 Alexander 2012-02-06 07:22:10 UTC
No, this is with IMAP resources, but the problem itself looks similar.
Comment 3 Alexander 2012-11-22 09:47:11 UTC
Created attachment 75403 [details]
Can't delete emails

Just configured Kmail to delete old emails (older than one week) and they seem to be deleted but also appeared again and now they're grayed and not accessible.

Now I can reproduce this bug each time and it is very annoying. Basically now I should to open gmail web interface and delete those emails in batches by 20 (or so) items (since they are paginated and I did not found any way to select them all).

I have more than 7 000 emails in other account but I am afraid to delete them.
Comment 4 Gerry Gavigan 2013-04-15 18:06:52 UTC
using kde 4.10.2 on openSUSE 12.3

I can only delete certain (no pattern) emails by deleting the folder containing them
Comment 5 Maciej Mrozowski 2014-06-16 13:09:15 UTC
Duplicate of 316153
Comment 6 Allen Winter 2014-06-22 18:26:18 UTC

*** This bug has been marked as a duplicate of bug 316153 ***