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: vkra...@kde.org ReportedBy: mon...@kde.org CC: kdepim-bugs@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. _______________________________________________ Kdepim-bugs mailing list Kdepim-bugs@kde.org https://mail.kde.org/mailman/listinfo/kdepim-bugs