Closed Bug 742673 Opened 12 years ago Closed 12 years ago

Chat accounts are not connected automatically if Thunderbird was offline on startup

Categories

(Thunderbird :: Instant Messaging, defect)

defect
Not set
normal

Tracking

(thunderbird15 fixed, thunderbird16 fixed)

RESOLVED FIXED
Thunderbird 17.0
Tracking Status
thunderbird15 --- fixed
thunderbird16 --- fixed

People

(Reporter: aryx, Unassigned)

References

Details

Attachments

(2 files)

Thunderbird Daily 2012-04-04, Windows XP SP 3 32-bit

I am unable to connect to a newly created IRC account after creating it in a profile in which Thunderbird was offline on startup. Thunderbird tries to connect but fails despite being online. There is a notification: "Automatic Connection Settings have been ignored because the application was started in offline mode." The "Connect" button of the account is greyed out, you have to click the "Conncet now" of the notification to get connected.
Blocks: 740280
Attached patch PatchSplinter Review
[Approval Request Comment]

This bug was fixed for Instantbird in https://bugzilla.instantbird.org/show_bug.cgi?id=1497 and pushed as https://hg.instantbird.org/instantbird/rev/1b767d16b3a9

The patch I'm attaching here only to request approval is from aleth and was reviewed by me.


The current behavior is:
If Thunderbird is started with necko offline (the "work offline" checkbox of the profile manager), chat accounts that have the "Connect at startup" checkbox checked don't try to automatically connect. The user has to go to the "Show Accounts" chat dialog and click on the button of the notification bar displayed in attachment 612490 [details] to connect them.

With the attached patch, the chat core will tell these accounts to connect at startup anyway. They won't connect (because necko is offline), but they will remember the user wanted them to be connected, and they will connect automatically as soon as necko is back online.

In almost all cases this new behavior is better. The only case where the current behavior could be slightly better is if the user doesn't know that necko was started offline, as there won't be any message to explain the situation any more (as automatic connection isn't disabled).

My feeling is we should take this for Tb15.
Attachment #649694 - Flags: review+
Attachment #649694 - Flags: approval-comm-beta?
Attachment #649694 - Flags: approval-comm-aurora?
QA Contact: aletheia2
Summary: Unable to connect to newly created IRC account after creation if Thunderbird was offline on startup → Chat accounts are not connected automatically if Thunderbird was offline on startup
https://hg.mozilla.org/comm-central/rev/c923542e90ef
Status: NEW → RESOLVED
Closed: 12 years ago
OS: Windows XP → All
Hardware: x86 → All
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 17.0
Attachment #649694 - Flags: approval-comm-beta?
Attachment #649694 - Flags: approval-comm-beta+
Attachment #649694 - Flags: approval-comm-aurora?
Attachment #649694 - Flags: approval-comm-aurora+
See Also: → 954930
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: