Closed Bug 1719288 Opened 3 years ago Closed 3 years ago

Unexpected check for new emails while the app requests to start offline or online

Categories

(Thunderbird :: General, defect)

defect

Tracking

(thunderbird_esr78 wontfix, thunderbird91 fixed)

RESOLVED FIXED
92 Branch
Tracking Status
thunderbird_esr78 --- wontfix
thunderbird91 --- fixed

People

(Reporter: cmgaudry33, Assigned: cmgaudry33)

Details

Attachments

(1 file)

Hi,

After playing around with thunderbird 78.11 offline feature, I found out that if I configure the app to ask the user if they want to start offline or online, the app still connects to the same imap server if the user has not yet answered the question.

So if you configure "offline.startup_state" to 2, the application still starts online by default, but the application should start offline by default.

This issue also affects the beta version.

Steps to reproduce :
- set preference "mail.server.server1.login_at_startup" to true (connect to the server at startup) ;
- set preference "mail.server.server1.check_time" to 1 (1 minute) ;
- set preference "offline.startup_state" to 2 (always ask) ;
- start Thunderbird
- wait for the "Connection" dialog
- DO NOT ANSWER THE QUESTION
- wait for 1 minute
- new email will pop up but it should not

This patch can be applied to the comm-esr78 branch and it seems to be applied also to the comm-beta branch

Attachment #9229875 - Flags: review?(mkmelin+mozilla)
Comment on attachment 9229875 [details] [diff] [review]
bug_1719288_OfflineStartup_jsm.diff

Review of attachment 9229875 [details] [diff] [review]:
-----------------------------------------------------------------

Looks alright, thx! r=mkmelin
Attachment #9229875 - Flags: review?(mkmelin+mozilla) → review+
Assignee: nobody → chris.m.gaudry
Status: NEW → ASSIGNED
Target Milestone: --- → 92 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/b27b42f21b72
Unexpected check for new emails while the app requests to start offline or online. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED

Comment on attachment 9229875 [details] [diff] [review]
bug_1719288_OfflineStartup_jsm.diff

[Approval Request Comment]
Regression caused by (bug #):
User impact if declined: Unexpected connection attempts at startup when in offline mode
Testing completed (on c-c, etc.):
Risk to taking this patch (and alternatives if risky):
Small patch, low risk

Attachment #9229875 - Flags: approval-comm-beta?

Comment on attachment 9229875 [details] [diff] [review]
bug_1719288_OfflineStartup_jsm.diff

[Triage Comment]
Approved for beta

FWIW, I didn't find any duplicates of this bug

Attachment #9229875 - Flags: approval-comm-beta? → approval-comm-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: