default offline.autoDetect to true on linux



10 years ago
2 years ago


(Reporter: Elmar Stellnberger, Unassigned)


Firefox Tracking Flags

(Not tracked)




10 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; de; rv: Gecko/20070730 SUSE/ Firefox/
Build Identifier: version (20070801)

Thunderbird should check out whether there is any connection to the internet at startup and go offline if there is not any. At the moment I do always have to click through dozens of error messages, one for each account. If you forget to check 'remember password' only once when clicking through Thunderbird will forget it so that it needs to be reentered on subsequent startups.

Reproducible: Always

Steps to Reproduce:
1. interrupt connection to the internet
2. start Thunderbird
Actual Results:  
* dozens of error messages, one for each account
* all passwords have to be reentered if the user does not check "remember password" for each accounts error message

Expected Results:  
* offline mode automatically activated if no connection to the internet
* no such complaints on startup if offline
* multiple errors on receive/send all should be combined into a single message box
* the 'remember password' switch should be activated by deafult

Comment 1

10 years ago
Since bug 359134 is fixed, you probably can get a better behavior by setting bug offline.autoDetect true and network.autodial-helper.enabled false. Tried it?
Version: unspecified → 2.0

Comment 2

10 years ago
Martin, I've tried your solution but this not work for me, running in XP

Comment 3

10 years ago
  Trued offline.autoDetect works fine at me with Thunderbird (20070801). I do not have a network.autodial-helper property and likely no auto dialer.
  Offline autodetection should be offered for selection under Properties->Extended->Offline-Settings (Auto/Previous/Ask/Always) and may furthermore be desireable as default setting so that it can be selected without installing the AboutConfig extension.

Comment 4

10 years ago
Seems fine to me ether now, forgot about other interfaces which is up but not pointed to WAN.

Comment 5

10 years ago
No need for the AboutConfig extension any more. The functionality has been in the normal thunderbird distribution a long time now (Options > Advanced > General Config Editor)

I think the plan is to make it enabled by default, but the feature was too new for 2.0, and only working (well) on some platforms.

Comment 6

9 years ago
isn't offline.autoDetect=true the default?

Elmar, WFM using what will be become thunderbird 3
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1a2pre) Gecko/2008072800 Shredder/3.0a2pre

Comment 7

9 years ago
(In reply to comment #6)
> isn't offline.autoDetect=true the default?

Only for windows so far, though we should look in to enabling it at least for linux too.

Updating since this is just a default preferences problem then (confirmed default off here on tb3/linux).  

summary: never ending complaints if started offline
component: general
version: 2
Component: General → Preferences
Ever confirmed: true
QA Contact: general → preferences
Summary: never ending complaints if started offline → default offline.autoDetect to true on linux
Version: 2.0 → 3.0

Comment 9

8 years ago

IIRC there are still problems with the linux autodetection :(
Or did that get fixed again?

Comment 10

8 years ago
(In reply to comment #9)
> IIRC there are still problems with the linux autodetection :(
> Or did that get fixed again?

i forgot about that.
 Bug 464577 -  Offline status does not change due to toolkit.networkmanager.disable defaulting to true
 Bug 438842 -  Browser does not enter offline mode when connection is dropped  

I think there's a more root bug though.
Depends on: 577763
No longer depends on: 577763
Duplicate of this bug: 577763
I think this depends on bug 464577, and bug 424626 has some interesting extra information.
Depends on: 464577
Duplicate of this bug: 770441

Comment 14

4 years ago
Thanks a lot for this report, finally Thunderbird automatically figures whether I am offline or online - previously, I had it restart Thunderbird almost each time I switched wireless, or suspended/resumed the system, as Thunderbird would otherwise be unable to connect to my server.

What's the reason offline.autoDetect still defaults to false on Linux?

Comment 15

2 years ago
Somewhen during the last year, this stopped working. So now I'm back in the state where when I change from wired to wireless network, I have to either wait 5min or manually put Thunderbird into offline and then again into online mode, such that it reconnects to the server. If I won't do that, it will try to stick to the old connections, which of course donÄt work anymore when the IP changed. It seems that the functionality behind autoDetect was removed. Has anything been added as a replacement? This is a pretty bad regression. I don't understand why Linux is supported so badly by Thunderbird - or is the situation just as bad on the other platforms? :(
You need to log in before you can comment on or make changes to this bug.