GNOME Bugzilla – Bug 552552
File/Empty Trash does not expunge maildir folders
Last modified: 2009-10-09 10:02:53 UTC
Please describe the problem: My setup: I have a pop account with a filter setup to move source account email to a maildir account setup for this purpose via evo. Deleted emails are not expunged when File/Empty Trash is invoked. An explicit <CTRL-E> is required to expunge any deleted emails in the maildir account Steps to reproduce: 1. setup a maildir account 2. delete emails in the maildir account 3. select File/Empty Trash Actual results: deleted emails are left in the maildir account folders Expected results: they'd be deleted Does this happen every time? yes Other information: svn head ( I just started using the maildir account several weeks/a month or so ago, and it's been like this since i created it )
Reid, do you mean that it goes off only when you do Ctrl+E ? Just few doubts.. * You receive mails on pop and move to a maildir. So the move = delete+copy. Do you mean that these mails still remain in the source account? or Do you mean that maildir requires explicit expunge to delete mails. Also you Expunge the source directory or the Trash dir? Thanks
(In reply to comment #1) > Reid, do you mean that it goes off only when you do Ctrl+E ? Just few doubts.. > > * You receive mails on pop and move to a maildir. So the move = delete+copy. Do > you mean that these mails still remain in the source account? No, the filter move appears to work properly. > > or > > Do you mean that maildir requires explicit expunge to delete mails. Yes. > > Also you Expunge the source directory or the Trash dir? I normally expunge the maildir source directory. I just tried a test expunge of the Trash dir. The Trash dir expunge will remove the deleted emails from the source dir. It's just that 'File/Empty Trash' does not appear to call expunge on the Trash dir. > > Thanks >
Reid, is this still valid? We have a different bug where trash fails to expunge bug #550414. Could you confirm? Thanks.
(In reply to comment #3) > Reid, is this still valid? We have a different bug where trash fails to expunge > bug #550414. Could you confirm? Thanks. > File/Empty Trash still does not appear to expunge my maildir account. An explicit CTRL-E on either the source foler or the Trash folder is required.
is there some error message in the status bar after you try File->Empty trash?
(In reply to comment #5) > is there some error message in the status bar after you try File->Empty trash? > No error message, just a message/progress noting that expunging is going on. Local and OWA accounts are expunged, maildir account is not.
*** Bug 573180 has been marked as a duplicate of this bug. ***
Reid, Just a small thing. I heard it from one of the user, that this is how it used to be for long. Is that so or was this a regression post 2.24?
(In reply to comment #8) > Reid, Just a small thing. I heard it from one of the user, that this is how it > used to be for long. Is that so or was this a regression post 2.24? > to my knowledge, File/Empty Trash has not expunged maildir directories at any point since my original post. I've always had to select the individual maildir folders and explicitly expunge them. I've established the habit of CTRL-E before moving on to the next folder.
Ok. Is this a regression since 2.24 or wan't working even before was the main thing I wanted to ask.
(In reply to comment #10) > Ok. Is this a regression since 2.24 or wan't working even before was the main > thing I wanted to ask. > File/Empty Trash for maildir folders has never worked for me. I just noticed that I have this at the bottom of the original post for the bug report: Other information: svn head ( I just started using the maildir account several weeks/a month or so ago, and it's been like this since i created it )
Created attachment 144936 [details] [review] proposed evo patch for evolution; There were some consumptions in a code which were false. This fixes it.
Reid, if you can confirm the patch, then I'll commit for 2.28.1. Thanks.
(In reply to comment #13) > Reid, if you can confirm the patch, then I'll commit for 2.28.1. Thanks. Patch applied and running. Initial quick test shows that File->Empty Trash now expunges maildir directories. If I see any negative effects in the next day or so I'll note them. Thanks for the patch. reid
Created commit 1156a3b in evo master (2.29.1+) Created commit 05c9766 in evo gnome-2-28 (2.28.1+) Thanks for testing.