Closed Bug 1347611 Opened 4 years ago Closed 4 years ago

Web Apps (and custom tabs) flash previously opened content


(Firefox for Android Graveyard :: General, defect, P2)



(firefox58 verified)

Tracking Status
firefox58 --- verified


(Reporter: daleharvey, Unassigned)



Install and open, if I use the browser then switch to the pokedex activity, the content of the last opened tab in the browser flashes inside the activity, before reverting to its own content

This may possibly be a dupe bug for custom tabs, mostly keeping track
Blocks: 1285858
That's a side effect of sharing the same GeckoView and browser window - we have some logic in GeckoApp instead that keeps track of the last selected tab in that particular GeckoApp instance and then switches the selected tab if necessary ( Maybe based on that we can figure something out to stop painting until ready for the case when we're switching between different kinds of GeckoApp.
Priority: -- → P1
ni myself to find resource for this.
Flags: needinfo?(whuang)
I think the corresponding issue in Custom Tabs is Bug 1353732
clear NI as we'll review all the P1 dependencies around stand alone mode tomorrow.
Flags: needinfo?(whuang)
We haven't found available bandwidth to take this one for the current sprint.
We need at least a workaround to improve this symptom before we have GeckoView in place for standalone mode.
With the new dynamic toolbar, we now get not only the previous content momentarily flashing up, but occasionally (presumably if the toolbar was previously shown) a red stripe at the top of the screen as well.
Ah I wondered what that red flash was
For the (new) case of switching activities by selecting a different tab type (e.g. opening a link in a new tab from a custom tab/web app), I think bug 1359531 might help because the event order there will be slightly rearranged:

Previously, we'd start the activity switch and then switch tabs in Gecko only after the new activity has started up (and is possibly already showing the previous tab). With bug 1359531, we'll start selecting the tab first and then simultaneously switch activities, which empirically seems to help here.

This won't help in the case where the user is switching activities, though...
Bug 1364044 is a more serious issue, though not necessarily relevant to this.
In the triage we degraded this one to P2, and let's revisit.
Priority: P1 → P2
Duplicate of this bug: 1369117
Custom tabs have the same underlying issue.
Summary: Web Apps flash previously opened content → Web Apps (and custom tabs) flash previously opened content
Closed: 4 years ago
Resolution: --- → FIXED
No longer occurs in Nightly 58. Fixed.
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.