GNOME Bugzilla – Bug 632683
Remove-duplicates should work on selection
Last modified: 2013-09-13 01:09:37 UTC
evolution 2.91.2 bug 587011 has been fixed and remove duplicate messages feature is part of Evolution. When i try the feature with Inbox (not belong to local store, it's on server), i see little cpu spike and UI becomes unresponsive for a while. It will come back to normal after finishing the operation. gdb traces of evolution
+ Trace 224244
Thread 1 (Thread 0xb605c830 (LWP 2168))
It's calling camel_folder_get_message_sync() in Thread 1. It should call camel_folder_get_message() instead, which is asynchronous.
As per discussion with Milan on irc 1) We can add 'remove duplicate' in right click folder pop up, it will improve usability instead of going through menu. 2) We can warn user before performing the operation, something like Primary - Are you sure you want to delete duplicate messages ? Secondary - All duplicate messages in the selected folder will be deleted. It will be good to have checkbox with "do not ask again" in case user feels above warning useless as he may always want to perform operation.
Created attachment 174193 [details] [review] evo patch for evolution; We had a chat with Akhil on IRC and this patch does something slightly different from what is written above, basically: - remove-duplicates moved from folder to selection operation, there should be at least two messages selected to see this option - remove-duplicates fetches messages asynchronously - remove-duplicates shown in popup menu of the message-list - remove-attachments works whole asynchronously - I added an op for it
Created commit 59da2bd in evo master (.2.91.3+)