Bug 195531 - kmail: 'Delete Thread' causes Focus to jump backwards in Message List
Summary: kmail: 'Delete Thread' causes Focus to jump backwards in Message List
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: new message list (show other bugs)
Version: SVN trunk (KDE 4)
Platform: Compiled Sources Unspecified
: NOR normal
Target Milestone: ---
Assignee: Szymon Stefanek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-07 10:01 UTC by David Rankin
Modified: 2009-06-08 02:37 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 David Rankin 2009-06-07 10:01:40 UTC
Version:            (using Devel)
Installed from:    Compiled sources

With sort and aggregation set as follows:

  Message Sort Order:

        By Date/Time of Most Recent in Subtree

  Aggregation:

        Standard Mailing List

Using "Delete Thread" causes the message list focus to jump backwards several threads. The focus should return to the most recent undeleted message to have focus prior to moving to the deleted thread. The random jump backwards in threads causes you to literally lose 'focus' of where you were in the message list.
Comment 1 Szymon Stefanek 2009-06-07 18:06:42 UTC
Hm.. you're right. Theoretically the next thread should be selected but when deleting large threads sometimes it happens that a random thread, usually close to the one being deleted, becomes the current.

I suppose that this is caused by a chunked delete operation in that messages are deleted in at least two steps. I'll see what can be done.
Comment 2 Szymon Stefanek 2009-06-08 02:37:40 UTC
SVN commit 978730 by stefanek:

A new approach to the choice of the next message to
select in place of the ones being deleted.

BUG: 195531
BUG: 187297
BUG: 183923



 M  +3 -0      core/model.cpp  
 M  +180 -13   core/view.cpp  
 M  +1 -0      pane.cpp  
 M  +2 -1      widget.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=978730