Bug 81413

Summary: An inbox-entry is added to the subscription dialog with each automatic sync
Product: [Unmaintained] kmail Reporter: Tobias Larsson <tobias>
Component: disconnected IMAPAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 1.6.52   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Tobias Larsson 2004-05-12 11:35:37 UTC
Version:           1.6.52 (using KDE 3.2.2, compiled sources)
Compiler:          gcc version 3.3.1 (SuSE Linux)
OS:                Linux (i686) release 2.4.21-215-athlon

If the Subscription dialog is opened, and there is an automatic sync in the background, all subfolders of the dIMAP account is added to the lists in the Subscription dialog, which will leave the user with two or more inboxes to choose among.
Comment 1 David Faure 2004-05-12 12:15:25 UTC
On Wednesday 12 May 2004 11:35, Tobias Larsson wrote:
> If the Subscription dialog is opened, and there is an automatic sync in the background, all subfolders of the dIMAP account is added to the lists in the Subscription dialog, which will leave the user with two or more inboxes to choose among.

Hmm, this is the whole problem with asking the account to do something
and connecting to its signals (as opposed to doing that with jobs, where every
request leads to a different job object).

One solution is to make ImapAccountBase::listDirectory return the KIO job, 
and and add the job to receivedFolder() to check that it's the right one,
to avoid such interferences..... but that means storing the job in the folder class...

I guess a cleaner solution would be to turn this info a FolderJob.

Comment 2 Carsten Burghardt 2004-05-26 23:26:46 UTC
I do consider this fixed in kdepim 3.3