[Akonadi] [Bug 492233] Kmail does not display IMAP accounts in Folder views unless they contain a folder with unread messages

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Wed Aug 28 20:04:47 BST 2024


https://bugs.kde.org/show_bug.cgi?id=492233

whatifgodwasoneofus at hotmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|folders                     |Maildir Resource
                 CC|                            |carl at carlschwan.eu
            Product|kmail2                      |Akonadi

--- Comment #1 from whatifgodwasoneofus at hotmail.com ---
Further info:

I think the issue is in Akonadi and not necessarily in kmail (or at least
_also_ in akonadi).

The folders that "disappear" (the ones "grayed out" in the DB Browser) are
missing the "inode/directory" and "message/rfc822" content types in the
"internals" tab of the "Folder properties" window.
However, if I look inside the DB, there indeed are records in the join table
"collectionmimetyperelation": I don't know why the DB Browser doesn't show
them.

If I add (manually) those mime types in the "Folder properties" window, then
the folders are not grayed out anymore and they do appear in KMail - but as
soon as the Akonadi indexer "touches" them, they disappear again and become
grayed out in the DB Browser and "loose" the mime types associations. And,
again, the "collectionmimetyperelation" table still contains the related
records!

I "fixed" the issue by removing the maildir folders from the disk, so that when
Akonadi restarts it re-creates them as empty dirs. Then, I have rsync'ed them
from a backup one-by-one, and so far it seems that everything stays there as it
should.

It will take at least another hour for the indexer to complete, then I'll know
if some folders keep disappearing or not.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list