GNOME Bugzilla – Bug 617509
File->Empty trash doesn't expunge Deleted items
Last modified: 2010-05-12 19:09:05 UTC
Moving this from a downstream bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=587741 Description of problem: File->Empty Trash doesn't really empty the trash. Using OWA, when browsing folders I realized that my "Deleted Items" folder was full of messages that should have deleted. Version-Release number of selected component (if applicable): evolution-2.30.1-2.fc13.x86_64 evolution-mapi-0.30.1-1.fc13.x86_64 How reproducible: always Steps to Reproduce: 1. Delete message in evolution 2. File->Empty Trash 3. View Deleted items folder in OWA Actual results: Deleted items folder still contains messages that should have been deleted Expected results: Delted items folder should be empty. Additional info: ---------------------------------------------------------------------------- Browsing to the "Deleted Items" folder in Evolution also shows the same messages that are visible in OWA (I just didn't realize the bug until I was in OWA), but "Empty Trash" still has no effect, even if you are in the Deleted Items folder on Evolution. ---------------------------------------------------------------------------- Workaround: right click on the "Deleted Items" folder (from the left folder navigation pane) and select "Empty Trash". So while File->"Empty Trash" does not work, right clicking on the folder and selecting "Empty Trash" does. Final note, when this account was configured for IMAP access (under F11, and F12), File->"Empty Trash" did work. So this would seem to be an issue that only appears with the mapi connector. ---------------------------------------------------------------------------- I can reproduce it too. It seems to me that the issue is really only with evolution-mapi, and the reason seems to be that the summary for the "Deleted Items" folder isn't downloaded (you indicated that you didn't look in the folder earlier), thus evolution-mapi thinks there is no message stored in it, and skips the expunge operation. When you select it, it fetches folder summary, knows about messages, and the same expunge operation may work properly.
Created attachment 160193 [details] [review] ema patch for evolution-mapi; After more investigation I realized it's because ema claims it doesn't have a virtual trash folder, but it doesn't provide real trash. Having it provide right trash folder makes this work as expected, even when the folder summary for Deleted items isn't fetched yet.
Created commit 4add02b in ema master (0.31.2+) Created commit 8e14789 in ema gnome-2-30 (0.30.2+)
*** Bug 617511 has been marked as a duplicate of this bug. ***