Bug 195010

Summary: Cannot move messages to wastebin
Product: [Applications] kmail Reporter: Rafael Leal <rafl>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED NOT A BUG    
Severity: normal CC: kollix
Priority: NOR    
Version: 1.11.3   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Rafael Leal 2009-06-02 19:06:16 UTC
Version:           1.11.3 (using KDE 4.2.3)
OS:                Linux
Installed from:    Ubuntu Packages

The same behaviour in Mandriva 2009.1 with KDE 4.2.2

When I choose a message and hit the button "Move to Wastebin", or right-click and choose "Move to Deleted Items" or press "Del", the status bar reads "Messages moved to wastebin successfully", but the message is not moved. It happens with both dimap and local (from pop3) messages.

My wastebin is a local folder. I can move messages to other local folders without any problem.

I don't know if this is relevant at all, but when kmail is opened via the terminal, it reads constantly, every 5 seconds:

"kmail(16444)/kmail (storage internals) KMFolderIndex::openInternal: KDE_fopen(indexLocation()= "/home/rakku/.kde/share/apps/kmail/mail/.trash.index" , "r+") == mIndexStream ==  0x3[+ number]
kmail(16444)/kmail (storage internals) KMFolderMaildir::reallyDoClose: fclose(mIndexStream =  0x3[+ same number as before] )"
Comment 1 Martin Koller 2009-09-05 00:32:15 UTC
Does it help when you select your wastebin folder, right-click on the folder and select "Maintenance -> recreate index" ?
Comment 2 Rafael Leal 2009-09-07 11:52:43 UTC
Yes, indeed!

It works now - many thanks.
Comment 3 Torgny Nyblom 2009-09-07 13:27:51 UTC
Closing as invalid with regards to comment #2.