[Bug 247129] New: When we subscribe collection entitytreemodel doesn't show it
Laurent Montel
montel at kde.org
Mon Aug 9 10:28:58 BST 2010
https://bugs.kde.org/show_bug.cgi?id=247129
Summary: When we subscribe collection entitytreemodel doesn't
show it
Product: Akonadi
Version: unspecified
Platform: Compiled Sources
OS/Version: Linux
Status: NEW
Severity: normal
Priority: NOR
Component: libakonadi
AssignedTo: vkrause at kde.org
ReportedBy: montel at kde.org
CC: kdepim-bugs at kde.org
Version: unspecified (using Devel)
OS: Linux
I used last trunk version of akonadi/kdepimlibs/kdepim.
When I use "Manage Local Subscription" dialogbox to subscribe collection,
signal is emitted so no problem but collection is not added to ETM.
I debug it and I can see that:
in: void EntityTreeModelPrivate::monitoredCollectionAdded( const
Akonadi::Collection& collection, const Akonadi::Collection& parent )
{
....
qDebug()<<" collection :"<<collection;
if ( !m_mimeChecker.wantedMimeTypes().isEmpty() &&
!m_mimeChecker.isWantedCollection( collection ) )
return;
....
}
m_mimeChecker.wantedMimeTypes() : ("message/rfc822")
collection : Collection ID: 17 remote ID: "ddd"
name: ""
url: KUrl("akonadi:?collection=17")
parent: 7 "inbox"
resource: "akonadi_maildir_resource_0"
rights: 63
contents mime type: ()
CachePolicy:
inherit: true
interval: -1
timeout: -1
sync on demand: false
local parts: ()
CollectionStatistics:
count: -1
unread count: -1
size: -1
=> we can see that when we add collection, "contents mime type: () " is empty
=> it can add it.
So there is a bug here. I think that collection is not fetched.
Reproducible: Didn't try
Steps to Reproduce:
Unsubscribe a collection => you can see this is removed from ETM
Subscribe this collection => it's not added.
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the Kdepim-bugs
mailing list