This repository has been archived by the owner on Feb 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[Bug] White screen when using back swipe to close Firefox Preview and reopening from 'Recents' #9144
Labels
🐞 bug
Crashes, Something isn't working, ..
eng:qa:verified
QA Verified
P1
Current sprint
S1
Blocks development/testing, may impact more than 25% of users, causes data loss, potential chemspill
Comments
adityamurugan
changed the title
[Bug]
[Bug] White screen when using back swipe to close Firefox Preview and reopening from 'Recents'
Mar 13, 2020
boek
added
P1
Current sprint
S1
Blocks development/testing, may impact more than 25% of users, causes data loss, potential chemspill
and removed
needs:group-triage
needs:triage
Issue needs triage
labels
Mar 17, 2020
There has been a small change in behavior but the bug is still there. -The first back swipe closes the external link tab and the home page is shown Version: Nightly 200416 08:30 (Build #21070840) |
Tested on Nightly 6/12 and I was able to reproduce the issue on the following devices, only if the page from step 2 is opened in the browser:
|
ekager
pushed a commit
that referenced
this issue
Jun 22, 2020
We'll now clearly differentiate between cold / hot starts of HomeActivity.kt. This is needed because Android will resend the original Intent which initially started the Activity whenever it is restarted from the Recents Screen if the activity is already destroyed at that time. So in the event that the activity was before started with an Intent to open a webpage for example whenever the activity is restarted from Recents it will receive the same Intent to open a webpage even though that Intent has already been consumed. Activity's onCreate() will only use the intent processors when the activity is cold started so that we'll only initially act upon Intents configured for different behaviors inside the app. If the activity is destroyed while in background and opened from Recents it will not act upon the original Intent which is now resent by Android. Activity's onNewIntent() will be called to act upon a new Intent if the activity is hot started since we are declared as singleTask and it now has the responsibility to delegate various intent processors to consume that Intent.
This was referenced Jun 23, 2020
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
🐞 bug
Crashes, Something isn't working, ..
eng:qa:verified
QA Verified
P1
Current sprint
S1
Blocks development/testing, may impact more than 25% of users, causes data loss, potential chemspill
Steps to reproduce
Expected behavior
Firefox Preview should open the home page without any white screens
Actual behavior
Firefox preview shows a blank white screen and need to be closed and opened to fix
Device information
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: