Closed Bug 7273 Opened 26 years ago Closed 26 years ago

Can't control order of mail servers in folder pane

Categories

(MailNews Core :: Backend, defect, P3)

All
Windows NT

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 10215

People

(Reporter: scurtis, Assigned: alecf)

Details

Attachments

(1 file)

Changing the order of servers in the accountmanager.accounts line isn't having any effect on the order of servers in the folder pane of the application. For example, I'm attaching a prefs file that has five accounts in it. It the mail.accountmanager.accounts preference line, the order is specified as news (nntp); tintin (imap); nsmail2 (imap); nsmail5 (pop); and poisonoak (imap). The order of display of these servers in the folder pane is nsmail2,nsmail5,poisonoak,tintin,and then news. The order in which their mail.accounts lines appear in the prefs file is: news,nsmail2,tintin,nsmail5, and poisonoak. I played with changing the order of each of these around, and none of the changes seems to predictably affect the order they appear in the folder pane. I was able to swap the order of two of them by swapping the values of their mail.server.[server] and mail.account.[account] lines, but it didn't pan out to be a reliable method.
QA Contact: lchiang → scurtis
That's kind of funny that it's so unpredictable, but not a good sign of course.
I should have noted that the bulk of my testing was done on Win32, although I first noticed the problem on Mac. The "loading preferences for account" messages that show up in the console, btw, do appear in the order in which they're specified in the accountmanager.accounts line.
Target Milestone: M10
I just discovered this is because I'm storing the accounts in a hash table, so order is kind of unpredictable. I may have to switch to an array.
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → DUPLICATE
*** This bug has been marked as a duplicate of 10215 ***
Status: RESOLVED → VERIFIED
verified dup
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: