Closed Bug 295140 Opened 20 years ago Closed 19 years ago

remember previous online state doesn't work

Categories

(Thunderbird :: General, defect)

x86
Linux
defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wolfiR, Assigned: Bienvenu)

Details

(Keywords: regression)

Attachments

(1 file)

"remember previous online state" doesn't work for me.
I've set this option but when I leave Thunderbird in offline mode and startup
again it's again in online state.
I think the interesting pref is:
user_pref("offline.startup_state", 0); 

This is the setting in prefs.js if "remember previous online state" is used and
Thunderbird was offline before quitting.
Flags: blocking-aviary1.1?
Keywords: regression
after further investigation I found that the pref network.online will not be set
to "false" if the offline state is reached.
OK, it seems that aviary-branch has very much changes which are missing from the
trunk version to fix this.
I think someone familiar with the code should merge both versions of
mailnews/extensions/offline-startup/js/offlineStartup.js

And this really blocks aviary1.1 IMHO.
I think this is a MAJOR one.
Severity: normal → major
Assignee: mscott → bienvenu
It looks like Neil's changes in rev 1.9 of offlineStartup.js, for bug 240898
might be responsible. We don't seem to get a profile-approve-change notification
when shutting down thunderbird, so we never remember the offline/online state.
We used to just remember it when the online/offline state changed, as long as we
weren't starting up.  I don't know if Seamonkey always generates this
notification, but Thunderbird doesn't seem to get it.
Status: NEW → ASSIGNED
Attached patch proposed fixSplinter Review
this fixes it for thunderbird - not sure about seamonkey. Does this look OK,
Neil?
Attachment #188969 - Flags: superreview?(mscott)
Comment on attachment 188969 [details] [diff] [review]
proposed fix

looks good to me.
Attachment #188969 - Flags: superreview?(mscott) → superreview+
Attachment #188969 - Flags: approval-aviary1.1a2?
Attachment #188969 - Flags: approval-aviary1.1a2? → approval-aviary1.1a2+
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Flags: blocking-aviary1.1?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: