Bug 229486 - mail selection not updated correctly when deleting mails
Summary: mail selection not updated correctly when deleting mails
Status: RESOLVED DUPLICATE of bug 202071
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-05 05:15 UTC by kde
Modified: 2010-03-10 23:55 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kde 2010-03-05 05:15:37 UTC
Version:            (using KDE 4.4.1)
Compiler:          gcc version 4.4.3  
OS:                Linux
Installed from:    Gentoo Packages

When you delete emails the "current" email entry is not updated correctly.
To reproduce:
* you need a folder with a few emails to delete
* select the 3rd or 4th email
* shift-select the 1st email
* hit delete
the new first email is highlighted and displayed
* shift-select another email (eg. 6th)and you have highlighted the first messages and the 4-6th, but not those "in between".
* hitting delete removes all selected mails

Seems like the storage for the "from index" when doing a shift-select is not moved correctly when deleting entries.
probably a simple fix: if active entry is deleted and new highlight is set, set "from selection" as well.
Maybe this applies to other apps as well. Not sure where this kind of list is used.
Comment 1 Björn Ruberg 2010-03-10 23:55:38 UTC

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