Bug 196944

Summary: Locally unsubscribing in dIMAP does not take effect immediately
Product: [Applications] kmail Reporter: Christoph Lange <langec>
Component: disconnected IMAPAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: frank, kollix
Priority: NOR    
Version: 1.11.4   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Christoph Lange 2009-06-18 00:04:40 UTC
Version:           1.11.4 (using 4.2.4 (KDE 4.2.4), Gentoo)
Compiler:          x86_64-pc-linux-gnu-gcc
OS:                Linux (x86_64) release 2.6.28-thinkpad-r2

I have a disconnected IMAP account (GMail) where I don't want to unsubscribe completely from some folders, but when accessing the account in KMail, I'd like to locally unsubscribe from them.  Now the problem is that some of these folders are quite large.  When I open the local subscription dialog and unsubscribe from them, I'd like this to take effect immediately.  I'm currently checking out my whole account again (as the cache got corrupted before, which is not related to this bug).

My first experience was that the local subscription dialog didn't even remember my unsubscription settings.  After a few quits/restarts of KMail, my local subscription was finally changed -- according to what the dialog displays.  However, the folders are still there.  I remember that last time when I set up KMail, it took me a long time to get rid of these folders.  I was only able to do so after all folders had been downloaded.
Comment 1 Christoph Lange 2009-06-19 15:32:45 UTC
Actually it turned out that even after downloading all folders it was not possible to locally unsubscribe from any folder (I didn't try for all folders of my GMail account, but for some).  So my memory may have been wrong.  I think I have done the last successful local unsubscription with KMail from KDE 3.5, and then I took over the same local maildir folders into KMail of KDE 4.1 -- until I lost all of them, as mentioned above.

I can confirm this for a second, independent KMail installation on a second computer, which accesses the same account.
Comment 2 Frank Niethardt 2009-06-19 16:07:12 UTC
I use two dIMAP googlemail accounts, both locally unsubscribed [Gmail]/All Mails

kmail 1.11.4, kde 4.2.4
Comment 3 Christoph Lange 2009-06-26 12:56:36 UTC
I have not even been able to unsubscribe from the folder "[Google Mail]/Sent Mail" (maybe KMail doesn't like the syntax?) by deleting it from kmailrc and the dimap cache.  Next time when starting KMail it was downloaded again.
Comment 4 Laurent Montel 2015-04-12 10:21:10 UTC
Thank you for taking the time to file a bug report.

KMail2 was released in 2011, and the entire code base went through significant changes. We are currently in the process of porting to Qt5 and KF5. It is unlikely that these bugs are still valid in KMail2.

We welcome you to try out KMail 2 with the KDE 4.14 release and give your feedback.