I managed to set up the GMail resource to work with my gmail account. I had to cleanup on both sides, but now it seems to work. However I noticed a strange behavior when reading emails. When an email is read, the unread count in the folder overview is reduced and shows the correct number of unread emails remaining. However in the message view, the email remains blue and the envelope before the email itself is not opened. Closing kmail and opening it again, shows the correct view with the read emails correctly marked by black text and an opened envelope. Switching from one folder to the next however doesn't help.
I also checked through the webgui of gmail itself and it seems that the emails are correctly being marked as read. So it is purely a refresh issue of the gmail resource
Git commit 8fb4b39d6cdebfea80326e931198126c0421fc3d by Dan Vrátil. Committed on 24/07/2014 at 09:30. Pushed by dvratil into branch 'KDE/4.14'. ETM: Don't ignore itemChanged of items in virtual collections It can happen that storage collection of an item is not in the ETM, but only virtual collections containing items from that collection (see Gmail resource for example). In that case ETM will only receive itemChanged notifications for the virtual collections, but not for the storage one, so the item won't be updated, because ETM does not update the original item when the notification is detined for a virtual collection. This change makes ETM not to ignore itemChange notifications when the collection is virtual, but perserves the orignal parent collection. Approved-By: Christian Mollekopf M +9 -2 akonadi/entitytreemodel_p.cpp http://commits.kde.org/kdepimlibs/8fb4b39d6cdebfea80326e931198126c0421fc3d