Bug 208168

Summary: wrong email moved during drag n drop
Product: [Applications] kmail Reporter: Damian D <damian>
Component: message listAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: bjoern
Priority: NOR    
Version: 1.9.10   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Damian D 2009-09-22 12:50:56 UTC
Version:           1.9.10 (using 3.5.10, Kubuntu (hardy) 4:3.5.10-0ubuntu1~hardy1.3)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.24-24-generic

Whilst dragging an email from inbox to another folder, a new email arrived in the inbox. The email that was moved was not the one dragged but the one above it.
This is what you would expect if you had taken the dragged email's position in the list at the start of the drag instead of the end.
Comment 1 Björn Ruberg 2010-03-06 15:01:55 UTC
never happend to me. Can you reproduce the problem?
Comment 2 Damian D 2010-03-08 11:01:38 UTC
The behaviour is always as stated above, but timing is critical - you must start a drag in your inbox before new emails arrive and must be still dragging when the inbox is updated with new messages.
I'll bet you a beer that the fix is to get the selected message positions when the drag ends rather than when it starts.
Comment 3 Björn Ruberg 2010-03-08 12:45:02 UTC
Interesting. But you are reporting against KDE 3.5.10. Tested in KDE 4.4.0 and it works there.