Bug 165384 - phantom mail in folder list
Summary: phantom mail in folder list
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail
Classification: Applications
Component: folder list (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-30 05:41 UTC by Volker Wysk
Modified: 2008-06-30 20:19 UTC (History)
0 users

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 Volker Wysk 2008-06-30 05:41:49 UTC
Version:           3.5.8 (using KDE 3.5.8)
Installed from:    Debian testing/unstable Packages
Compiler:          4:4.1.2-9ubuntu2 
OS:                Linux

I have had trouble with kmail and started over with a completely blank installation. I've purged the kmail package, removed the ~/Mail folder and deleted everything with "kmail" in the file name in ~/.kde and its subdirectories. All existing folders (except for the inbox) should be empty.

The directories in ~/Mail are all empty. The folder list shows "-" as the size of the folders ("outbox", "sent mail" etc.). 

But when you select a folder, a folder size mysteriously appears in the size column of the folder list. For instance, it changes from "-" to "13,7 kB" for the outbox folder. The directories in ~/Mail are still empty.

Apart from the bug: How can I get a new, completely empty installation of kmail?
Comment 1 Thomas McGuire 2008-06-30 18:47:05 UTC
13,7 kB seems to be the size of an empty folder.
KMail creates a folder structure for the inbox/outbox etc, and these folders use diskspace, as they occupy inodes. Thus, the size displayed is correct. The size is displayed on-the-fly, and because of this, it gets only calculated when clicking a folder.

Removing ~/Mail, ~/.kde/share/apps/kmail and ~/.kde/share/config/kmailrc (and probably your identities and transports as well, not sure how those files are named, but they are also in the config directory) should remove all KMail settings and files. In fact, ~/Mail is not used in newer versions anymore.
Comment 2 Volker Wysk 2008-06-30 20:19:11 UTC
> ------- Additional Comments From Thomas.McGuire gmx net  2008-06-30 18:47 -------
> 13,7 kB seems to be the size of an empty folder.
> KMail creates a folder structure for the inbox/outbox etc, and these folders use diskspace, as they occupy inodes. Thus, the size displayed is correct. The size is displayed on-the-fly, and because of this, it gets only calculated when clicking a folder.


That's not quite true. 16 kB is the size of an empty folder:

~/Mail $ du -s *
16      drafts
16      inbox
16      outbox
16      sent-mail
16      templates
16      trash


The size of the phantom mail is

outbox:      13.7 kB
sent mail: 132.1 kB
trash:        empty ("-")
drafts:       12,0 kB
templates: 12,0 kB
_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000066