Snackbar is not displayed after showing cached pages when Fennec is offline

NEW
Assigned to

Status

()

Firefox for Android
General
P3
normal
2 years ago
2 months ago

People

(Reporter: TeoVermesan, Assigned: Grisha)

Tracking

51 Branch
ARM
Android
Points:
---

Firefox Tracking Flags

(fennec+, firefox50 unaffected, firefox51 affected, firefox52 unaffected, firefox57 affected, firefox58 affected, firefox59 affected, firefox60 affected, firefox61 affected, firefox62 affected)

Details

(Reporter)

Description

2 years ago
Tested using:
Device: One A2001(Android 6.0.1)
Build: Firefox for Android 51.0a2 (2016-09-21)
Steps to reproduce:
1. Load mozilla.org
2. Cut off wifi
3. Close page loaded at step 1
4. Go to the history panel and choose mozilla.org

Expected results:
- The page loads correctly and a snackbar is displayed at the bottom of the page: "Showing offline version".

Actual results:
- The page loads correctly but there is no snackbar displayed at the bottom of the page

Note:
- on Nightly and Beta, a snackbar is displayed
Assignee: nobody → gkruglov
tracking-fennec: ? → 51+
(Assignee)

Updated

2 years ago
Priority: -- → P2
Whiteboard: [MobileAS]
(Assignee)

Comment 2

2 years ago
Can you verify that this still happens if you manually flip `browser.tabs.useCache` to `true` in about:config?

If it does work, then you're probably hitting (unrelated) bug Bug 1312045.
Flags: needinfo?(teodora.vermesan)
Tested with:
 - LG G4 (Android 5.1) & Huawei Honor (Android 5.1)
 - LG G4 (Android 6.0.1), HTC Desire 820 (Android 6.0.1) & Nexus 5 (Android 6.0.1)

I am providing information on behalf of Teo, the issue is fixed in all of the devices listed above if the `browser.tabs.useCache` is set to `true` in about:config. However this does not fix the problem for Nexus 5 (Android 6.0.1).
Flags: needinfo?(teodora.vermesan)
(Assignee)

Comment 4

2 years ago
(In reply to Bogdan Surd from comment #3)
> Tested with:
>  - LG G4 (Android 5.1) & Huawei Honor (Android 5.1)
>  - LG G4 (Android 6.0.1), HTC Desire 820 (Android 6.0.1) & Nexus 5 (Android
> 6.0.1)
> 
> I am providing information on behalf of Teo, the issue is fixed in all of
> the devices listed above if the `browser.tabs.useCache` is set to `true` in
> about:config. However this does not fix the problem for Nexus 5 (Android
> 6.0.1).

To clarify, on a Nexus 5 device running Android 6 you're not seeing "offline" notifications at all?
(Assignee)

Updated

2 years ago
Flags: needinfo?(bogdan.surd)
Retested on Nexus 5 with a fresh install and the "offline" notification now appears. Could not reproduce the issue anymore.
Flags: needinfo?(bogdan.surd)
(Assignee)

Updated

2 years ago
Whiteboard: [MobileAS]
tracking-fennec: 51+ → +
Hello,

No snackbar notification is displayed on a Nexus 6 (Android 7.1.1). 

I've retested this on a fresh install and the snackbar was then displayed. I can't find exact STR for this as it seems to reproduce at random.
status-firefox57: --- → affected
status-firefox58: --- → affected
[triage] Bulk edit from title: this is a non-critical issue. Please remove priority if you wish this to be re-triaged.
Priority: P2 → P3

Comment 8

4 months ago
Device:
 - Huawei M3 Lite 10 Tablet (Android 7.0);

Build: 
 - Nightly 61.0a1;
 - Release 59;
 - Beta 60 (60.0b7);

Tested on Huawei M3 Lite 10 Tablet (Android 7.0). No snackbar offline notification is displayed on fresh installs.
status-firefox59: --- → affected
status-firefox60: --- → affected
status-firefox61: --- → affected

Updated

2 months ago
status-firefox62: --- → affected
You need to log in before you can comment on or make changes to this bug.