Closed Bug 230888 Opened 21 years ago Closed 21 years ago

Non-existing folders marked as having messages, including new ones

Categories

(SeaMonkey :: MailNews: Message Display, defect)

x86
Linux
defect
Not set
major

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: mozilla-bugs, Assigned: Bienvenu)

References

(Blocks 1 open bug)

Details

(Keywords: regression)

Attachments

(1 file)

I have a number of folders named "INBOX.Sys.xyz" (this is Courier-IMAP, it uses
"." as a folder name separator), but no folder named "INBOX.Sys". As expected,
in the folders pane, "Folders" is greyed out.

Everything was working fine with BuildID 2003102322 (trunk). But after I've
upgraded to BuildID 2004011221, I am seeing:

- From time to time, the "Sys" "folder" (and other similar greyed-out
"non-folders") would get marked as having new messages (e.g. the folder icon
would change).

- From time to time, in addition to "new messages" icon, the folder would get
non-zero message counts. Almost always, the message counts would be # unread = #
total = # of unread in another (real) folder! For example, I have Work.PRL
folder that currently has 44 messages unread from 53 total and from time to
time, Sys would be shown to have 44 unread and 44 total messages. But sometimes,
Sys would "steal" the unread count from some other folders - sometimes even from
a folder in _another_ IMAP account.

Note:

- The folder name still always stays greyed out. 

- Quitting Mozilla, erasing the .msf and restarting does not help - initially 
the folder is shown correctly, but that quickly changes.

- If I click on the "Sys", the "new messages" icon gets replaced with the normal
one, but the bogus counts stay. Once Mozilla actually showed me headers from
another folder when I did that, but after erasing the .msf this did not happen
again - now the headers pane always (correctly) stays empty when a "non-folder"
is selected in the folders pane.

- Sometimes the counters would disappear and the "non-folder" would be shown
normally, but later they would come back.

- I have user_pref("mail.check_all_imap_folders_for_new", true); and some
non-INBOX folders are have "check this folder for new messages" enabled.

- I am running Fedora Core 1 (+ all updates). I have compiled Mozilla on Fedora
Core 1 with --enable-default-toolkit=gtk2 --disable-freetype2 --enable-xft
--enable-optimize=-O2 --disable-debug --disable-strip-libs --disable-tests
--enable-xinerama --enable-nspr-autoconf --without-mng --enable-crypto
--disable-xprint --without-system-nspr --with-system-zlib
Depends on: 224381
taking, fix upcoming.
Assignee: sspitzer → bienvenu
Attached patch proposed fixSplinter Review
make sure status command succeeded.
fix checked in, r/sr=mscott.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
I did not hae a chance to test this yet, but is this something worth checking
into 1.6 branch as well?
Flags: blocking1.6?
1.6 is already on the way out the door.
The non-folders are now handled correctly, BuildID 2004011522. 
Status: RESOLVED → VERIFIED
Flags: blocking1.6?
fixed on m4 branch
Something very similar to this bug came back (but this time it's empty folders
that get marked wrong, not the non-folders) - see bug 239196.
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: