Bug 281169 - turning off all "Local Subscriptions" makes IMAP account disappear
Summary: turning off all "Local Subscriptions" makes IMAP account disappear
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: Git (master)
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-01 12:50 UTC by Jonathan Marten
Modified: 2011-09-01 13:49 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Marten 2011-09-01 12:50:54 UTC
Version:           Git (master) (using Devel) 
OS:                Linux

The context menu over an IMAP account or subfolder of it, in the folder list, seems to be the only way to reach the "Manage Local Subscriptions" dialogue.

If an IMAP account is completely turned off here, either by unchecking the top level or all of the subfolders one level below it, after clicking OK the account disappears from the folder list.  When this happens, there is no way to access the subscription dialogue again to re-subscribe to anything.

The only way to recover from this appears to be to remove the IMAP account and add it again, the new account will have the default subscriptions.


Reproducible: Always

Steps to Reproduce:
Configure an IMAP account.

From the context menu over the account top level, do "Manage Local Subscriptions".

Turn off the checkbox for the Inbox and any other folder at that level.

Click OK.


Actual Results:  
The IMAP account disappears from the folder list.


Expected Results:  
There should be a way to access the IMAP account to re-subscribe again (e.g. show the account in the folder list, but with no subfolders below it).
Comment 1 Laurent Montel 2011-09-01 13:35:40 UTC
It's right it's allow to subscript all type of folder imap or not.
So we must show it all the time.
Will fix it.
Comment 2 Andre Heinecke 2011-09-01 13:48:04 UTC
Just fyi this also goes for serverside subscriptions, If you have serverside subscriptions enabled and nothing subscibed (as is the default in some imap servers like kolab) The account is also no longer shown.
Comment 3 Laurent Montel 2011-09-01 13:49:41 UTC
Fixed in 4.7.1 or 4.7.2 and master