Bug 226419 - Copying a message to another folder copies the whole directories & messages
Summary: Copying a message to another folder copies the whole directories & messages
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: folders (show other bugs)
Version: 1.99.0
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Stephen Kelly
URL:
Keywords: akonadi-ports-regression
Depends on:
Blocks: 223438
  Show dependency treegraph
 
Reported: 2010-02-11 23:21 UTC by Christophe Marin
Modified: 2010-05-31 19:35 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
negative values for the destination folder. (13.20 KB, image/png)
2010-02-11 23:21 UTC, Christophe Marin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christophe Marin 2010-02-11 23:21:17 UTC
Created attachment 40700 [details]
negative values for the destination folder.

Using trunk (r1088840)

Copying a message copies the whole parent directory.

- Click on a message,
- RMB/copy item to/Local Folder/any_directory

Result: there's a subdir in 'any_directory' and all the messages are displayed in the list.

Result #2 (unrelated): if the destination folder is not expanded, the message count in the folder list now displays "-1" (ss attached)
Comment 1 Christophe Marin 2010-02-11 23:23:13 UTC
The console output doesn't give any hint:

# kmail(15616)/libakonadi Akonadi::EntityTreeModelPrivate::monitoredItemAdded: Got a stale notification for an item whose collection was already removed. 754 "" 
kmail(15616)/libakonadi Akonadi::EntityTreeModelPrivate::monitoredItemAdded: Got a stale notification for an item whose collection was already removed. 755 "" 
kmail(15616)/libakonadi Akonadi::EntityTreeModelPrivate::monitoredCollectionStatisticsChanged: Got statistics response for non-existing collection: 38
Comment 2 Thomas McGuire 2010-02-12 14:10:41 UTC
Adding Steve to the CC list, this seems model/view related.
Comment 3 Leo Franchi 2010-05-31 19:35:50 UTC
SVN commit 1132910 by lfranchi:

Fix mime data from messagelist. Actions from the messagelist now work properly, such as Copy to ... and Move to ...

BUG: 226419


 M  +6 -2      kmail/kmmainwidget.cpp  
 M  +2 -0      kmail/kmmainwidget.h  
 M  +33 -2     messagelist/core/model.cpp  
 M  +3 -0      messagelist/core/model.h  
 M  +6 -0      messagelist/core/storagemodelbase.h  
 M  +13 -0     messagelist/pane.cpp  
 M  +12 -0     messagelist/pane.h  
 M  +16 -0     messagelist/storagemodel.cpp  
 M  +2 -0      messagelist/storagemodel.h  


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