When selecting a folder to delete in an IMAP account, the folder will reappear after a few moments. Selecting to delete from Kontact or Akonadi Console produces same results. Folders reappear after IMAP "retrieves folder list". Reproducible: Always Steps to Reproduce: 1. Select folder to delete 2. Agree to delete folder 3. IMAP resource retrieves folder list 4. Folders reappear Actual Results: Folders reappear Expected Results: Folder should be deleted Partial Debugging Output from Akonadi Console (Specific account info has been replaced): AkonadiConsole Browser Widget (0x22346d0) 163 SELECT SILENT 1187 AkonadiConsole Browser Widget (0x22346d0) 163 OK Completed AkonadiConsole Browser Widget (0x22346d0) 164 FETCH 1:* FULLPAYLOAD CACHEONLY IGNOREERRORS ANCESTORS INF EXTERNALPAYLOAD (UID COLLECTIONID FLAGS SIZE REMOTEID REMOTEREVISION DATETIME) AkonadiConsole Browser Widget (0x22346d0) 164 OK FETCH completed akonadiconsole-495252308 (0x21c38c0) 5 DELETE 1187 akonadiconsole-495252308 (0x21c38c0) 5 OK DELETE completed akonadi_imap_resource_0 (0x215a540) 580 LSUB 1191 0 () (STATISTICS true ANCESTORS INF) akonadi_imap_resource_0 (0x215a540) 580 NO Collection 1191 does not exist akonadi_imap_resource_0 (0x215a540) 581 LSUB 1188 0 () (STATISTICS true ANCESTORS INF) akonadi_imap_resource_0 (0x215a540) 581 NO Collection 1188 does not exist akonadi_imap_resource_0 (0x215a540) 582 LSUB 1187 0 () (STATISTICS true ANCESTORS INF) akonadi_imap_resource_0 (0x215a540) 582 NO Collection 1187 does not exist akonadi_imap_resource_0 (0x215a540) 583 LSUB 1189 0 () (STATISTICS true ANCESTORS INF) akonadi_imap_resource_0 (0x215a540) 583 NO Collection 1189 does not exist akonadi_imap_resource_0 (0x215a540) 584 LSUB 83 0 () (STATISTICS true ANCESTORS INF) akonadi_imap_resource_0 (0x215a540) * 83 0 (NAME "AKO" MIMETYPE (inode/directory) REMOTEID "imap://nathan@imap.account/" REMOTEREVISION "" RESOURCE "akonadi_imap_resource_0" VIRTUAL 0 MESSAGES 0 UNSEEN 0 SIZE 0 CACHEPOLICY (INHERIT false INTERVAL 35 CACHETIMEOUT -1 SYNCONDEMAND true LOCALPARTS (ENVELOPE HEAD RFC822)) ANCESTORS ((0 "")) noselect "1" PARENT "0") akonadi_imap_resource_0 (0x215a540) 584 OK List completed akonadi_imap_resource_0 (0x215a540) 585 LIST 0 INF (RESOURCE akonadi_imap_resource_0) (ANCESTORS 1) akonadi_imap_resource_0 (0x215a540) * 88 83 (NAME "Archive" MIMETYPE (inode/directory message/rfc822) REMOTEID "/Archive" REMOTEREVISION "" RESOURCE "akonadi_imap_resource_0" VIRTUAL 0 CACHEPOLICY (INHERIT true INTERVAL 35 CACHETIMEOUT -1 SYNCONDEMAND true LOCALPARTS (ENVELOPE HEAD RFC822)) ANCESTORS ((83 "imap://nathan@imap.account/")) PARENT "83" uidnext "2" collectionflags "\\Answered \\Flagged \\Draft \\Deleted \\Seen \\*" uidvalidity "1373422604" highestmodseq "211083404251624" collectionquota "477812736 1073741824" imapacl "nathan lrswipcdan %% " timestamp "1388355094" imapquota "user/nathan %%%% STORAGE % 1048576 %%%% STORAGE % 466614") akonadi_imap_resource_0 (0x215a540) * 90 83 (NAME "Calendar" MIMETYPE (inode/directory message/rfc822) REMOTEID "/Calendar" REMOTEREVISION "" RESOURCE "akonadi_imap_resource_0" VIRTUAL 0 CACHEPOLICY (INHERIT true INTERVAL 35 CACHETIMEOUT -1 SYNCONDEMAND true LOCALPARTS (ENVELOPE HEAD RFC822)) ANCESTORS ((83 "imap://nathan@imap.account/")) PARENT "83" uidnext "1" collectionflags "\\Answered \\Flagged \\Draft \\Deleted \\Seen \\*" uidvalidity "1370034526" highestmodseq "207695326800856" collectionquota "477812736 1073741824" imapacl "nathan lrswipcdan %% " timestamp "1388355095" imapquota "user/nathan %%%% STORAGE % 1048576 %%%% STORAGE % 466614") akonadi_imap_resource_0 (0x215a540) * 85 83 (NAME "Deleted Messages" MIMETYPE (inode/directory message/rfc822) REMOTEID "/Deleted Messages" REMOTEREVISION "" RESOURCE "akonadi_imap_resource_0" VIRTUAL 0 CACHEPOLICY (INHERIT true INTERVAL 35 CACHETIMEOUT -1 SYNCONDEMAND true LOCALPARTS (ENVELOPE HEAD RFC822)) ANCESTORS ((83 "imap://nathan@imap.account/")) PARENT "83" uidnext "2" collectionflags "\\Answered \\Flagged \\Draft \\Deleted \\Seen \\*" uidvalidity "1318259068" highestmodseq "195995551820786" collectionquota "477812736 1073741824" imapacl "nathan lrswipcdan %% " timestamp "1388355092" imapquota "user/nathan %%%% STORAGE % 1048576 %%%% STORAGE % 466614")
I did have the same issue with only one of my IMAP accounts. But it seems to be fixed in 4.13. Can you upgrade to 4.13 (openSUSE packages are available in the KDE:Current repo) and check whether you still see the issue or not?
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.