Bug 145809

Summary: Trash folder counts to new message number
Product: [Applications] kmail Reporter: Daniel <leva>
Component: IMAPAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal    
Priority: NOR    
Version: 1.9.7   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:

Description Daniel 2007-05-22 19:14:39 UTC
Version:           1.9.7 (using KDE KDE 3.5.7)
Installed from:    Debian testing/unstable Packages
OS:                Linux

When using KMail with an IMAP account, and KMail is configured to display the number of new messages on the system tray icon, then the contents of the IMAP account's Trash folder is counted too.
KMail shouldn't count the deleted but unread messages to the new message number. This is not the case when using the Local Folder's Trash directory. The IMAP account's Trash folder is configurable, so KMail should exclude that directory when counting new messages.
Comment 1 Thomas McGuire 2007-05-22 21:35:22 UTC
Hmm, could this be the same as bug 136821 or bug 90386?
Comment 2 Vitus Jensen 2007-11-04 12:49:45 UTC
I don't think it's a duplicate.  Bug 136821 and bug 90386 relate to msgs which have the imap state "deleted" and "unread", msgs in the Trash folder aren't marked "deleted".  So even as those are technically new = unread they shouldn't be counted as they reside in the configured trash folder.