Bug 283336

Summary: Kmail counts duplicates by using (Gmail-)labels.
Product: [Frameworks and Libraries] Akonadi Reporter: BartOtten <bartotten>
Component: IMAP resourceAssignee: Christian Mollekopf <chrigi_1>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: dvratil, kdepim-bugs, mollekopf, vkrause
Priority: NOR    
Version: 4.7   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description BartOtten 2011-10-04 18:55:48 UTC
Version:           4.7 (using KDE 4.7.1) 
OS:                Linux

I have set up an Gmail account in Kmail. Gmail uses labels that are correctly imported into Kmail as being folders. However, if I label one unread message in my inbox with say 'Sport' and 'School' it will count as 3 new emails in the systray counter. For inbox, school and sport.

Reproducible: Always

Steps to Reproduce:
Use an IMAP account that support labels
Label an unread message
Import into Kmail


Actual Results:  
The systray will show the number 3

Expected Results:  
The systray should show the number 1
Comment 1 Daniel Vrátil 2013-01-03 10:34:21 UTC
This should be possible to fix using virtual collections which are available in KDE 4.10.
Comment 2 Kevin Ottens 2013-11-16 07:26:55 UTC
The IMAP resource has a new maintainer, reassigning to him.
Comment 3 Christian Mollekopf 2013-11-19 16:22:51 UTC
This is a conceptual limitation of how google chose to expose tags in imap. It could be solved by a dedicated gmail resource, but is a wontfix for the imap resource.

I believe Daniel Vratil may take up the task of writing a gmail resource.