Bug 252119

Summary: Moving items from "detail" views does not correctly update view, e.g. "move to trash".
Product: KDE PIM Mobile Reporter: Felix Wolfsteller <felix.wolfsteller>
Component: generalAssignee: Ludwig Reiter <ludwig.reiter>
Status: VERIFIED FIXED    
Severity: major CC: aheinecke, bernhard, bjoern.ricks
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Maemo 5   
OS: Linux   
Latest Commit: Version Fixed In:

Description Felix Wolfsteller 2010-09-23 11:45:54 UTC
0) start kmail-mobile
1) Select a folder with one mail in it
2) Read the mail
3) Actions->Edit->Move Item To... and move the mail somewhere

The display will now show "No messages in this folder", although no folder (but mail) was chosen before (i.e. its the list view without the folder selection on the left).

Similarly moving a (non-last) mail will result in a mainly white screen, whereas either the next mail, a confirmation dialog or the list view should be shown.

Found in 4:4.5~20100922.1178352-1maemo1.1177763 .
Comment 1 Felix Wolfsteller 2010-09-23 14:36:59 UTC
*** Bug 251942 has been marked as a duplicate of this bug. ***
Comment 2 Felix Wolfsteller 2010-09-23 14:38:54 UTC
This issue exists with other applications (e.g. addressbook), too.
Comment 3 Felix Wolfsteller 2010-10-20 11:04:40 UTC
*** Bug 254733 has been marked as a duplicate of this bug. ***
Comment 4 Till Adam 2010-11-07 00:03:38 UTC
SVN commit 1193743 by tilladam:

Make sure to emit itemRemoved in all code paths.

We need to notify listeners when our item is moved away, not just when
it's deleted. Move the signal emission into the clear slot, to achieve
this.

BUG: 252119

 M  +1 -2      viewer_p.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1193743
Comment 5 Andre Heinecke 2011-02-15 17:30:32 UTC
Ludwig please verify that the move actions update the view correctly
Comment 6 Ludwig Reiter 2011-02-18 11:17:11 UTC
Kontact Touch Windows CE 2011-02-11

Test: 
1. Open a folder with two mails.
2. Select one mail.
3. Actions/Edit/Move to Trash
=> The mail is move into the trash folder and the folder view with the second mail is displayed.
passed.

Okay.