Closed
Bug 804379
Opened 12 years ago
Closed 12 years ago
Email app doesn't notice when it's offline
Categories
(Firefox OS Graveyard :: Gaia::E-Mail, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 800449
People
(Reporter: cjones, Unassigned)
Details
Due to flaky wifi, I'm offline more often than I should be. When I load email, it just sits at a "Loading messages" spinner. This might indicate either or both - bug in loading locally cached messages. (We do that, right?) Those should be loaded when offline. - bug in not checking network status
https://github.com/mozilla-b2g/gaia/issues/2477 This bug wasn't moved over for some reason...
related bug 796444.
Comment 3•12 years ago
|
||
This is probably most related to bug 800449. If you can see the message, it's locally cached. However, we try and avoid visual churn and so we use the timestamps of when we last checked the folder to decide whether we should either: A) show the messages we know about, then trigger the sync or B) trigger the sync, and only once that completes, show the messages in the folder. If we synced recently, we do 'A'. If we synced a while ago, we do 'B'. If we are offline, we just show the offline stuff. I assume what is happening here is that we think we are online (because window.navigator.[moz]Connection.bandwidth > 0 or we have a bug with our addEventListener on that), it's been long enough that we do 'B'. Then bug 800449 effectively happens and the synchronization process breaks and there's no feedback. We want to fall back to just using the local messages in that case.
Comment 4•12 years ago
|
||
Duping to bug 796444
Status: NEW → RESOLVED
blocking-basecamp: ? → ---
Closed: 12 years ago
Resolution: --- → DUPLICATE
Reporter | ||
Comment 5•12 years ago
|
||
This isn't the same bug as bug 796444, but happy to sort this out however asuth/squib prefer.
You need to log in
before you can comment on or make changes to this bug.
Description
•