Bug 231165

Summary: Not visible mails are kept selected/being used when filtering message list (Data loss by accident)
Product: [Applications] kmail Reporter: Daniel Hahler <kde-bugzilla>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bjoern
Priority: NOR    
Version: 1.13.1   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Daniel Hahler 2010-03-17 23:10:21 UTC
Version:           1.13.1 (using 4.4.1 (KDE 4.4.1), Kubuntu packages)
Compiler:          cc
OS:                Linux (i686) release 2.6.32-16-generic

TEST CASE:
 1. Go to a Trash folder (or maybe some other, have not tried)
 2. Select all mails (Ctrl-A with focus in the folder list)
 3. enter something in the "Search"/Filter input to narrow down the list of displayed messages. Use something unique, so you get only very few mails.
 4. The displayed messages are still selected.
 5. Right-click one of them.
 6. Choose delete (CAREFUL: you should not do this with important mails, if you are not being asked for confirmation)
 7. It will ask you to delete ALL of the mails

Problem:
If not reading carefully, you may delete far too many mails by accident.

Note:
This does not affect the "Mark message as Read/Unread" action (and probably others from this menu): for those actions only the visible mails get toggled.

EXPECTED:
"Delete" should behave just like marking as read/unread: only act on the mails visible in the list (respecting the filter).
Comment 1 Björn Ruberg 2010-03-19 15:58:10 UTC

*** This bug has been marked as a duplicate of bug 130247 ***