Open Bug 278403 Opened 20 years ago Updated 4 months ago

going offline with sync enabled with no network connection causes dialog flurry

Categories

(MailNews Core :: Backend, defect)

defect

Tracking

(Not tracked)

People

(Reporter: jud, Unassigned)

References

(Depends on 1 open bug)

Details

env:
- no network connection (pull the cable/turn off wireless)
- ensure you're set to "sync when going offline" in prefs.

When you "go offline" in thunderbird, TBird tries to do the sync. If you have
lots of folders selected for sync'ing, this results in a "cannot connect to XXX
server" dialog for every folder.

related: bug 233726
QA Contact: general
see this using current trunk.
perhaps one message per folder marked for offline? (I'm not sure)
bug 233726 is one possible solution
Assignee: mscott → nobody
Depends on: 233726
Hardware: Macintosh → All
I have not used offline in a long time. but today still see this, in car, every time I switch folders. It is *very* annoying.

1. download/sync and go offline
2. status shows "work offline"
3. turn off wireless
4. change folders

actual results: message "failed to connect to server" with "OK" button
expected results: no message
reproducible: always

* happens also going into folder properties
* happens even after unchecking folder properties' "select folder for offline use"
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1b5pre) Gecko/20090429 Shredder/3.0b3pre
Component: General → Backend
Flags: wanted-thunderbird3?
Product: Thunderbird → MailNews Core
QA Contact: general → backend
that's very odd - I have not seen that when I've been on the train. A protocol log might be interesting.
I think Wayne's bug is a different issue.

The issue in comment 0 is about when actually going offline, not after going offline. I've seen the comment 0 issue when going offline with accounts that I've "disabled" due to incorrect (or test fake server) set ups - the offline mechanism checks for new mail on those accounts (even if there's no offline download).
confirming Wayne's description here.
Flags: blocking-thunderbird3?
Can we move Wayne's description to a different bug? IMHO it is a very different bug.
I just tested comment 0. I suspect the root issue is the same
it depends on whether the offline indicator in the UI is accurately reflecting the ioservice's offline state - if not, then it's the same issue, otherwise there are two issues.
can't speak to Judson's case.

in my case
- menu says I'm working offline
- 3pane icon indicates I'm online
- i still get new messages if I don't turn off the wireless
(In reply to comment #8)
> it depends on whether the offline indicator in the UI is accurately reflecting
> the ioservice's offline state - if not, then it's the same issue, otherwise
> there are two issues.

I believe the ioservice is correctly reflecting the state - until TB has finished synchronising it doesn't go offline.

(In reply to comment #9)
> in my case
> - menu says I'm working offline
> - 3pane icon indicates I'm online
> - i still get new messages if I don't turn off the wireless

This actually sounds like bug 471695.
(In reply to comment #10)
> (In reply to comment #8)
> > it depends on whether the offline indicator in the UI is accurately reflecting
> > the ioservice's offline state - if not, then it's the same issue, otherwise
> > there are two issues.
> 
> I believe the ioservice is correctly reflecting the state - until TB has
> finished synchronising it doesn't go offline.
> 
> (In reply to comment #9)
> > in my case
> > - menu says I'm working offline
> > - 3pane icon indicates I'm online
> > - i still get new messages if I don't turn off the wireless
> 
> This actually sounds like bug 471695.

I agree. I don't see my issue with build 20090509, which has fix for bug 471695.

still see the reporter's problem, when attempting sync with no network connection. i.e. message per folder rather than just one message per account
Summary: going offline with sync enabled when you're already offline causes dialog flurry → going offline with sync enabled with no network connection causes dialog flurry
(In reply to comment #11)
> I agree. I don't see my issue with build 20090509, which has fix for bug
> 471695.
> 
> still see the reporter's problem, when attempting sync with no network
> connection. i.e. message per folder rather than just one message per account

Thanks for the clarification. I think with the recent changes on Windows & Mac to have offline state be autodetected, then something like comment 0 is less likely to occur because we'll detect the loss of connection and just go offline. Additionally, its not likely that someone will do it anyway.

So denying blocking as I don't think the issue in comment 0 is something big that we must fix (especially given it was raised in 2005 and no known duplicates).
Flags: wanted-thunderbird3?
Flags: wanted-thunderbird3+
Flags: blocking-thunderbird3?
Flags: blocking-thunderbird3-
Severity: normal → S3
See Also: → 1423574, 1687214
You need to log in before you can comment on or make changes to this bug.