Bug 223820

Summary: Some edit menu entries wrong and defunct
Product: [Applications] kmail2 Reporter: Thomas McGuire <mcguire>
Component: UIAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: lfranchi, tokoe
Priority: NOR Keywords: akonadi-ports-regression
Version: 1.99.0   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Bug Depends on:    
Bug Blocks: 223438    

Description Thomas McGuire 2010-01-22 18:05:48 UTC
In the Edit menu, some items are broken:

- "Copy": is always enabled, even if nothing is selected
- "Copy 1 Message": The count here is always 1, regardless of how many messages are selected
- "Cut Message": Seems to cut the folder

Also, copying, cutting and pasting doesn't seem to work correctly at all in most cases and causes crashes.
Comment 1 Tobias Koenig 2010-05-07 14:53:30 UTC
The problem is that Akonadi::StandardActionManager::setItemSelectionModel() is called with the selection model of the folder tree in KMail.
The MessageList::View should be fixed to be a real EntityTreeView with a real EntityTreeModel underneath, then it should work.
Comment 2 Leo Franchi 2010-06-02 17:47:43 UTC
SVN commit 1133833 by lfranchi:

Only enable Copy action when some text is selected in the viewer

CCBUG: 223820


 M  +15 -0     viewer_p.cpp  
 M  +2 -0      viewer_p.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1133833
Comment 3 Leo Franchi 2010-06-02 17:48:51 UTC
folder instead of message being copied was fixed in r226419