| Summary: | When we subscribe collection entitytreemodel doesn't show it | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] Akonadi | Reporter: | Laurent Montel <montel> |
| Component: | libakonadi | Assignee: | Volker Krause <vkrause> |
| Status: | RESOLVED UNMAINTAINED | ||
| Severity: | normal | CC: | pim-bugs-null |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed In: | ||
| Sentry Crash Report: | |||
This bug has only been reported for versions older than KDEPIM 4.14 (at most akonadi-1.3). Can anyone tell if this bug still present? If noone confirms this bug for a recent version of akonadi (part of KDE Applications 15.08 or later), it gets closed in about three months. Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input. |
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.