Bug 436089

Summary: Allow deletion of attachments and other message parts from message structure view
Product: [Applications] kmail2 Reporter: Ingo Klöcker <kloecker>
Component: commands and actionsAssignee: Ingo Klöcker <kloecker>
Status: RESOLVED FIXED    
Severity: wishlist CC: bernhard
Priority: NOR    
Version: Git (master)   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 5.18.0
Sentry Crash Report:

Description Ingo Klöcker 2021-04-23 10:02:21 UTC
It should be possible to delete attachments and other message parts via the context menu of the message structure view.
Comment 1 Ingo Klöcker 2021-04-23 10:02:46 UTC
taking
Comment 2 Ingo Klöcker 2021-04-23 10:16:43 UTC
Git commit 0b53b36701f4fe44dfa46af120bc0c71d327040c by Ingo Klöcker.
Committed on 23/04/2021 at 10:15.
Pushed by kloecker into branch 'master'.

Allow deletion of attachments from message structure view

Deletion of attachments (and other message parts) is only allowed
one at a time. Message parts inside encrypted message parts cannot
be deleted.

This (re-)adds the "Delete Attachment" action to the context menu
of the message structure view. It was removed 3 years ago because
it always crashed (because it tried to work with a copy of the node
tree of the original message).

Sponsored by: Intevation GmbH
Related: bug 287177
FIXED-IN: 5.18.0

M  +22   -1    messageviewer/src/viewer/viewer_p.cpp
M  +1    -0    messageviewer/src/viewer/viewer_p.h

https://invent.kde.org/pim/messagelib/commit/0b53b36701f4fe44dfa46af120bc0c71d327040c
Comment 3 Ingo Klöcker 2021-05-10 16:04:17 UTC
*** Bug 361368 has been marked as a duplicate of this bug. ***