Bug 306617

Summary: can't delete email from email list in kmail
Product: [Applications] kdepim Reporter: Johannes K. <joker777vs.666>
Component: messagelistAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED NOT A BUG    
Severity: normal CC: thomas
Priority: NOR    
Version: GIT (master)   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description Johannes K. 2012-09-11 15:48:03 UTC
I'm using the latest kde from master.
I user disconnected imap to my Google account and I can't delete an email by either presing DEL or righ-click 'move to trash'.
It does work, when I move it via drag and drop to the trash in 'Local Folders'.

BTW it would be greate if someone could explain how to change the default trash location for the DEL and righ-click 'move to trash' event.

Reproducible: Always
Comment 1 Johannes K. 2012-09-11 15:51:08 UTC
ah...I forgot to add that kmail says this in the console when I try to delete an e-mail:

kmail2(10669) showJobError: There is no GUI delegate set for a kjob, and it failed with error: "No collection found"
Comment 2 Myriam Schweingruber 2012-09-12 08:03:38 UTC
*** Bug 306623 has been marked as a duplicate of this bug. ***
Comment 3 Johannes K. 2012-09-16 22:35:31 UTC
ok...by reviewing the kdepim code I found out that it must be possible to set the trash folder for each resource seperatelly. Eventually I found this possible when you go to the configuration dialog of a resource and click on the advanced tab.
There was no trash folder set for me. Setting one fixted my problem :-)
I think it should give the user at least some kind of warning that no trash folder is configured when you try to delete a folder but no one is selected. This Warning should contain a link to open this specifig configuration dialog.