Bug 133339

Summary: renaming IMAP folder unsubscribes sub-folders
Product: [Applications] kmail Reporter: BJ Blanchard <blabj>
Component: IMAPAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: bjoern
Priority: NOR    
Version: 1.9.4   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description BJ Blanchard 2006-08-31 19:26:14 UTC
Version:           1.9.4 (using KDE KDE 3.5.4)
Installed from:    Gentoo Packages
Compiler:          gcc 3.4.6 
OS:                Linux

Renaming an IMAP folder with sub-folder causes the sub-folders to be unsubscribed (users think they've lost everything).

Workaround is to re-subscribe to the sub-folders.

Kmail should automatically recurse through sub-folders changing subscribtion path with re-named folder.
Comment 1 Tommi Tervo 2006-09-05 14:49:31 UTC

*** This bug has been marked as a duplicate of 111756 ***
Comment 2 BJ Blanchard 2006-09-05 17:14:56 UTC
This is not a duplicate, and in fact doesn't exhibit the same behaviour as bug 111756.

111756 is related to CachedIMAP (DIMAP), and this problem occurs on normal IMAP accounts.

Also, emails do not disappear, sub-folders disappear.  Emails within the renamed folder itself appear fine.
Comment 3 Tommi Tervo 2006-09-06 10:03:10 UTC
I need more coffee...
Comment 4 Ingo Klöcker 2006-09-09 09:29:32 UTC
Hmm, I wonder whether this isn't a bug in the IMAP server. Subscriptions are stored on the IMAP server so if one folder is renamed then the IMAP server should update the subscription information. Or did the server probably update the information but KMail didn't reread the subscription information? Do the subscribed folders appear if you access the account with a new test user (or with Thunderbird or some other client supporting IMAP subscription)?
Comment 5 BJ Blanchard 2006-09-09 18:17:22 UTC
Mozilla Mail and Thunderbird handle renaming folders perfectly (against the very same Cyrus IMAP server)... as well as supporting drag'n'drop with folders - big complaint with our users (the fact that kmail doesn't support that).
Comment 6 BJ Blanchard 2007-10-04 21:04:18 UTC
I can confirm this is fixed in kdepim-enterprise branch from SVN from October 1st, 2007.

But bug still exists in regular 3.5.7 release.

BJ.