Bug 262177

Summary: Deleted IMAP account is still shown
Product: [Unmaintained] KMail Mobile Reporter: Andre Heinecke <aheinecke>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: VERIFIED FIXED    
Severity: normal CC: felix.wolfsteller, tokoe
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Windows CE   
OS: Microsoft Windows CE   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Andre Heinecke 2011-01-05 12:09:55 UTC
Steps to reproduce
 -> Set up account ( tested with kolab groupware account created by accountwizard)
 -> Let it be synced
 -> delete account in the actions menu of KMail-Mobile
 Result:
  Account is still shown in the list and e-mails can still be viewed.

Syncing all accounts did not change it.
Comment 1 Andre Heinecke 2011-01-12 17:05:10 UTC
Tried this again in KOrganizer (the frontend i had open at that time), after the account was removed it was still shown, i navigated to a subfolder to see if data was still there. Before i could reach it the account dissapeared and i was back in the top level folder.

The Account dissapeared after ~1 Minute
Comment 2 Andre Heinecke 2011-01-13 09:50:58 UTC
A much smaller account (1 entry in an ical file) Dissapeared nearly instantly in KOrganizer.

Deleting my normal account from KMail again i've did nothing and just waited, after 5 minutes akonadiserver was still using up 100% cpu the account was shown but no akonadi_imap process was running.

After waiting another two minutes i selected the account and selected the inbox folder. Although the unread count was still shown, it showed no mails in this folder.
Comment 3 Andre Heinecke 2011-01-13 09:59:53 UTC
Additional information, after giving up i had the idea to restart kmail, which froze my device during kmail startup. I have no debug output of that Freeze.
Comment 4 Tobias Koenig 2011-01-14 09:35:05 UTC
Hej Andre,

Stephen fixed this with commit r1214217 and it works fine here. The account and its collections are removed from the EntityTreeModel and views immediately.
Can you retest it, please?

Ciao,
Tobias
Comment 5 Andre Heinecke 2011-02-15 16:57:27 UTC
Works fine now
Comment 6 Andre Heinecke 2011-02-15 17:43:36 UTC
*** Bug 251910 has been marked as a duplicate of this bug. ***