Bug 58679

Summary: kmail crashes with a folder called "new"
Product: [Applications] kmail Reporter: Toby Dickenson <tdickenson>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Toby Dickenson 2003-05-19 14:00:40 UTC
Version:            (using KDE KDE 3.1.1a)
Installed from:    Gentoo Packages

1. create new top-level folder called "test"
2. create a new subfolder called "new" inside "test". kmail creates a directory Mail/.test.directory to hold it
3. restart kmail, and it crashes
4. rm -rf .test.directory/new/
5. restart kmail, and it does not crash

I guess kmail is confusing the .test.directory holding directory for a maildir mailbox because it has a subdirectory called "new"
Comment 1 Stephan Kulow 2003-05-19 17:15:50 UTC
KMFolderDir::reload(void) seems to be the one picked .test.directory as Maildir folder. 
 
The crash is then because the error tries to update a status bar that isn't there yet. 
 
Comment 2 Ingo Klöcker 2003-05-25 17:43:51 UTC
Subject: Re:  New: kmail crashes with a folder called "new"

Thanks for the bug report. Will be fixed in KMail 1.5.3.