Bug 223820 - Some edit menu entries wrong and defunct
Summary: Some edit menu entries wrong and defunct
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: UI (show other bugs)
Version: 1.99.0
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: akonadi-ports-regression
Depends on:
Blocks: 223438
  Show dependency treegraph
 
Reported: 2010-01-22 18:05 UTC by Thomas McGuire
Modified: 2010-06-02 17:48 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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