Bug 286304 - wish: 'delete message' action
Summary: wish: 'delete message' action
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: filtering (show other bugs)
Version: Git (master)
Platform: Unlisted Binaries Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-10 22:19 UTC by Christophe Marin
Modified: 2011-12-22 13:57 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.9
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christophe Marin 2011-11-10 22:19:03 UTC
Currently, there is no user action to delete a message.

Useful case:
- When manually marking a message as spam, it could be useful to delete the message directly instead of moving it to a trash folder.
Comment 1 Christophe Marin 2011-11-10 22:22:35 UTC
kmail1 report: https://bugs.kde.org/show_bug.cgi?id=53814
Comment 2 Laurent Montel 2011-11-11 10:36:15 UTC
CRTL+DEL (or shift+del don't remember and can't see code here)=> you delete message.
But I will not add it by default because otherwise we can delete mail without get it from trash
Comment 3 Christophe Marin 2011-11-11 10:42:34 UTC
sorry but ctrl-del is useless and not the wanted behaviour:

1- I manually mark as spam,
2- the message is piped to train bogofilter/spamassassin/whatever
3- the message is deleted. Moving it to a trash folder or any subdir is a useless operation.

what is wanted is only a filter action.
Comment 4 Laurent Montel 2011-11-11 22:56:03 UTC
Ok a filter action. Didn't understand it.
Reopen it.
Comment 5 Laurent Montel 2011-12-22 13:57:16 UTC
Git commit c05a1d83a8c60143e4f29f001ed36f0eb433e6d3 by Montel Laurent.
Committed on 22/12/2011 at 14:56.
Pushed by mlaurent into branch 'master'.

Fix Bug 286304 - wish: 'delete message' action

BUG: 286304
FIXED-IN: 4.9

M  +37   -1    mailcommon/filteraction.cpp
M  +4    -0    mailcommon/filteraction.h
M  +14   -1    mailfilteragent/filtermanager.cpp
M  +1    -0    mailfilteragent/filtermanager.h

http://commits.kde.org/kdepim/c05a1d83a8c60143e4f29f001ed36f0eb433e6d3