Closed Bug 373570 Opened 17 years ago Closed 17 years ago

picking download new messages from account wizard causes "busy" alert

Categories

(Thunderbird :: Account Manager, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Bienvenu, Assigned: Bienvenu)

References

Details

(Keywords: fixed1.8.1.3)

Attachments

(3 files, 1 obsolete file)

If you set up your initial pop3 account from the pop3 wizard, and pick "download new messages", you get an alert about the folder being busy on startup. This is because we're doing both a biff and a download new mail on startup.
Attached patch possible fix (obsolete) — Splinter Review
I haven't tried this patch (I'll try it right now, if I have time).

The idea is that if we're downloading the new account, there's not reason to biff on 3-pane startup.
Attachment #258230 - Flags: superreview?(mscott)
Comment on attachment 258230 [details] [diff] [review]
possible fix

clearing review request - this didn't fix it for me.
Attachment #258230 - Flags: superreview?(mscott)
Attached patch proposed fixSplinter Review
This does fix the issue - I didn't realize accountutils.js was clearing gNewAccountToLoad immediately, which was subverting my check for it later on.
Attachment #258230 - Attachment is obsolete: true
Attachment #258309 - Flags: superreview?(mscott)
Attachment #258309 - Flags: superreview?(mscott) → superreview+
fixed on trunk and branch.  Cc'ing Neil in case SM needs a similar fix.
Status: NEW → RESOLVED
Closed: 17 years ago
Keywords: fixed1.8.1.3
Resolution: --- → FIXED
So why doesn't gLoadStartFolder help?
gLoadStartFolder is true in this case, I believe - we need the performBiff to be NOT run...that's why we check !gNewAccountToLoad , so that we won't do the performBiff if we are loading a new account.

We've always done this - but I made it put up an alert recently, to catch cases where the user tries to run a pop3 url when we're already busy doing something with the server. It would be better not to have an alert, but we also shouldn't try to do a biff and download new mail on startup.
It's interesting that I'd already mentioned this bug a long time ago and no one cared, see bug 368108. Probably it slipped under the radar, which is not so startling with so many bugs filled every day and I understand it. Please make it a dupe of this.
Attachment #258845 - Flags: superreview?(mscott)
Attachment #258845 - Flags: review?(bienvenu)
Attached patch Safer patchSplinter Review
I don't clear gNewAccountToLoad because msgOpenAccountWizard already does.
Attachment #258847 - Flags: review?(mnyromyr)
Comment on attachment 258845 [details] [diff] [review]
alternate approach

this looks ok to me - does this affect IMAP at all? Do we still load or not load the imap inbox? (I don't know what we do currently, though I suspect we load the inbox)
Attachment #258845 - Flags: review?(bienvenu) → review+
Attachment #258845 - Flags: superreview?(mscott) → superreview+
I can't reproduce the actual bug (or more probably I just fail to understand how to provoke it), so there's no point in /me reviewing any patches here atm...
Neil, were you going to back out the original fix on the trunk and land your alternative fix instead?
Comment on attachment 258847 [details] [diff] [review]
Safer patch

Finally I found a way to provoke the problem - by creating the *first* account in a *fresh* profile!
Attachment #258847 - Flags: review?(mnyromyr) → review+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: