Closed Bug 167890 Opened 22 years ago Closed 21 years ago

opening the move/copy menu slow for imap accounts with lots of folders

Categories

(SeaMonkey :: MailNews: Message Display, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sspitzer, Assigned: Bienvenu)

Details

Attachments

(1 file)

filter UI:  slow to bring filter list dialog (build filter after the fact 
picker) for certain imap accounts.

bienvenu thinks:  "I see why bringing up the filter list dialog is so slow. 
it's opening all the db's.  presumably, to get flags or something.
it should be using the panacea.dat, though."

this is new UI, from my landing for #161002
I'll take a look at this.
Assignee: sspitzer → bienvenu
the problem is that the filter dialog is using CanFileMessages to populate the
folders we can apply folders to - I don't think that's correct, since whether we
can file a message into a folder or not doesn't really determine if we can run
filters on it. I suspect CanFileMessages is used more in the sense of read-only,
adn that's probably roughly correct.

But the ultimate problem is that we're not caching the imap folder acl in
panacea.dat, which we really should be, if it's going to be asked for en masse
like that. That would also speed up the move/copy menu's, since they have this
same problem.
Status: NEW → ASSIGNED
QA Contact: olgam → laurel
dmb says:  we need to caching the imap folder acl in panacea.dat

this fix fixes the message list dialog problem, by properly using noselect, 
which is what I really wanted in the first place.  I was just being stupid.

dmb says:  noselect is fast, because it's a folder flag, which is stored in the 
panacea.dat  (no select is not acl)

leaving bug open.
Summary: filter UI: slow to bring filter list dialog (build filter after the fact picker) for certain imap accounts → opening the move/copy menu slow for imap accounts with lots of folders
patch checked in.
Amen. My main account's hierarchy in the File/Move/Copy menu has always been a
bear. 
I still need to fix this for the drag drop case - when you drag a message over
the folder pane, it opens the dbs of all the folders you drag over.
I fixed this a while ago.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: