Bug 279257

Summary: After deleting email kmail2 jumps to the last email selected before changing the folder
Product: [Applications] kmail2 Reporter: S. Burmeister <sven.burmeister>
Component: message listAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: montel, thomas
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description S. Burmeister 2011-08-03 05:31:50 UTC
Version:           unspecified (using KDE 4.7.0) 
OS:                Linux

If one changes the folder kmail2 remembers which email was selected last.

If one deletes an email kmail2 jumps to the above message instead of the one selected last (not before changing the folder).

Reproducible: Didn't try

Steps to Reproduce:
Select a message in a folder (message A)
Change folder
Change back
Click on another message (B)
Click on a third message (C) and delete it via pressing DEL

Actual Results:  
Kmail2 jumps to message A

Expected Results:  
jump to message B or the next read/unread message but certainly not A
Comment 1 Thomas Tanghus 2011-09-01 09:00:26 UTC
Same use case a bit more simple:

Select a folder.
KMail2 jumps to selected message (A) as I have chosen in the settings
Select first unread message.
Move to trash by pressing DEL.

Actual results:
KMail2 jumps to A

Expected results:
jump to the next read/unread message but certainly not A
Comment 2 Thomas Tanghus 2011-09-01 09:02:32 UTC
Related to Bug #279248 by original submitter