Closed Bug 509902 Opened 16 years ago Closed 16 years ago

"Compact" does not rebuild folder index if erasing all mails in a folder in "Mark as deleted" mode

Categories

(Thunderbird :: Folder and Message Lists, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: testman57fr, Unassigned)

References

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.3pre) Gecko/20090809 Ubuntu/9.04 (jaunty) Shiretoko/3.5.3pre AutoPager/0.5.2.2 (http://www.teesoft.info/) Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.3pre) Gecko/20090809 Lightning/1.0pre Shredder/3.0b4pre I use mark as deleted mode on my imap server to easily see mails that were filtered serverside. Sometimes I have to empty an entire subfolder, thus marking the whole folder content as deleted (red cross and striked text) Then to make them disappear I have to "Compact" (expunge in IMAP language) the folder. This is where the bug happens: it does indeed expunge on the server, but the display is not refreshed in the message list. I need to go in the folder properties and click on "Rebuild index" to get the display refreshed. Going out and back again in the folder does not help, and the mails inside are even still visible (probably from cache). If I choose not to delete everything, keeping at least one mail, compact works correctly. Reproducible: Always Steps to Reproduce: 1. Create a folder with some mails in it 2. While using the "mark as deleted" mode, delete everything in this folder 3. Compact the folder Actual Results: Left pane is updated (I am using the Extra Folder Columns extension to see folder size) but right pane keeps displaying all messages. Expected Results: Right pane should be refreshed too (index rebuilt ?)
> thus marking the whole folder content as deleted (red cross and striked text) > Then to make them disappear I have to "Compact" (expunge in IMAP language) the folder. Bug 462880 occurs by this operation. If all mails are deleted, "0 EXISTS" is returned after EXPUNGE. In this case, re-sync is not properly executed, then already expunged mails is not removed from MsgDB and thread pane display. > If I choose not to delete everything, keeping at least one mail, compact works correctly. Because "1 EXISTS" is returned in this case, re-sync is normally executed. So, easiest recovery procedure from remaining garbage is: Copy a mail to the folder by any client or Web Interface if Web mail. Closing as DUP of Bug 462880. Re-open please, if DUPing is wrong.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
Your case is not "0 EXISTS" case as I wrote in Comment #1. "1 EXISTS" case instead. This bug may be same case as Bug 517198. Re-opening, setting dependency to Bug 517198, for ease of tacking.
Status: RESOLVED → UNCONFIRMED
Depends on: 517198
Resolution: DUPLICATE → ---
testman57fr, is your problem gone now that Bug 517198 is fixed?
Yes, it seems it does indeed seem to work in the mean time (I am nearly always using the latest nightly or not far, but I do not know exactly when it started working correctly)
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.