Bug 282374

Summary: "Kmail folders" and "Local folders" sets appear both in folders collection
Product: [Frameworks and Libraries] Akonadi Reporter: Cristian Tibirna <tibirna>
Component: MigrationAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: amantia, kdenis, mailinglist
Priority: NOR    
Version: 4.7   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Cristian Tibirna 2011-09-20 00:47:01 UTC
Version:           4.7 (using KDE 4.7.1) 
OS:                Linux

Since upgrading to kmail2, both "KMail folders" and "Local folders" folder collections (inbox, outbox, draft, trash etc.) appear in the main folder collection of kmail.

I can see in the Akonadi configuration where the "Local folders" are coming from. Trying to remove them has no result, as they automatically reappear. There is no immediately evident source/reason for "KMail folders" to appear too and no evident way to remove them.

This is confusing and useless.

Reproducible: Always

Steps to Reproduce:
Update to kmail2 in a user directory that already contains KDE 4.6.5 configuration data (and user used to use kmail1).

Look at default folder collections (before adding any other configuration).

Actual Results:  
Both "KMail folders" and "Local folders" appear. None of these are removable.

Expected Results:  
Only one of these two should appear.
Comment 1 Joe Biden 2011-11-13 17:56:01 UTC
I have the exact same issue.

I am currently trying to see which folders are the same and move between them, not touching my inbox, just in case I have to revert to the old structure.

This has been such a failure of epic proportions as to be embarrassing to kmail developers everywhere.
Comment 2 András Manţia 2012-02-11 23:56:00 UTC
This is how migration creates the accounts. Seems it doesn't mark the migrated account's inbox/outbox as special folders, instead creates a new local folder for them. If no special folders are present, a local folder account is automatically created, otherwise you'd not be able to send mails.
Comment 3 Denis Kurz 2016-09-24 20:33:26 UTC
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.
Comment 4 Cristian Tibirna 2016-10-11 00:59:42 UTC
It seems to be fixed now. The "Kmail folders" are not anymore added automatically to configuration.

I guess this could be closed. Sorry for having lost it of sight.