Closed Bug 358138 Opened 19 years ago Closed 19 years ago

IMAP displaying ghost folders on startup

Categories

(Thunderbird :: Mail Window Front End, defect)

x86
Windows XP
defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bugzilla, Assigned: Bienvenu)

Details

(Keywords: fixed1.8.1)

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20061024 Minefield/3.0a1 Build Identifier: version 3 alpha 1 (20061024) When you create an IMAP-folder in Thunderbird (both latest nightly and 1.5.0.7 [current stable]) and then delete it on next start that folder gets displayed untill Thunderbird connects to the server and gets the current folder list from there. This also happens on rename. It seems to me it's a problem with the local cache not removing entries for folders EVER. This is quite anoying if you rename folders a lot (we do that in our support department) and the list gets huge after a while. (IMAP server is courier if that should make any difference) Reproducible: Always Steps to Reproduce: 1. create an IMAP folder 2. delete it 3. restart thunderbird 4. untill you click on the inbox (that causes thunderbird to connect and get a current list) all previously existing folders are displayed
Version: unspecified → Trunk
Darn, I thought I fixed this a while back for the trunk...
Assignee: mscott → davidbienvenu
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attached patch proposed fixSplinter Review
clearing the flags on all folders when deleted was causing us to recreate the .msf file for the imap folder, so that when you restart, the folder shows up again. Since we really only need to do this for saved search folders, we can fix this by not clearing the flags in other cases (this code was added specifically for saved searches).
Attachment #243659 - Flags: superreview?(mscott)
an other possibility is to ignore folders with flags of 0, but that still leads to .msf files hanging out on disk.
Attachment #243659 - Flags: superreview?(mscott) → superreview+
fixed on trunk and 2.0 branch.
Status: NEW → RESOLVED
Closed: 19 years ago
Keywords: fixed1.8.1
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: