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] Flash of black when leaving GV engine #1901
Labels
🐞 bug
Crashes, Something isn't working, ..
E5
Estimation Point: about 5 days
eng:qa:verified
QA Verified
Feature:HomeScreen
needs:gv
GeckoView bug required to fix the issue. See bugzilla.mozilla.org
P2
Upcoming release
Projects
Comments
I noticed this on a Moto G today. Screencast attached. |
Still reproducing on 5/23 build. Pixel and Galaxy Note 8. |
The only way for us to handle this is to "screenshot" the GV and animate with that. |
Basically the same issue as #4708 but lets make sure that animation looks good too (navigate from browser -> home). |
This was referenced Oct 1, 2019
ekager
added a commit
to ekager/fenix
that referenced
this issue
Oct 7, 2019
ekager
added a commit
to ekager/fenix
that referenced
this issue
Oct 8, 2019
ekager
added a commit
to ekager/fenix
that referenced
this issue
Oct 8, 2019
ekager
added a commit
to ekager/fenix
that referenced
this issue
Oct 8, 2019
ekager
added a commit
to ekager/fenix
that referenced
this issue
Oct 8, 2019
ekager
added a commit
to ekager/fenix
that referenced
this issue
Oct 8, 2019
ekager
added a commit
to ekager/fenix
that referenced
this issue
Oct 8, 2019
ekager
added a commit
that referenced
this issue
Oct 9, 2019
sblatz
added a commit
to sblatz/fenix
that referenced
this issue
Feb 19, 2020
sblatz
added a commit
to sblatz/fenix
that referenced
this issue
Feb 19, 2020
Co-authored-by: ekager ekager@mozilla.com
sblatz
added a commit
to sblatz/fenix
that referenced
this issue
Feb 19, 2020
Co-authored-by: ekager <ekager@mozilla.com>
sblatz
added a commit
to sblatz/fenix
that referenced
this issue
Feb 19, 2020
Co-authored-by: ekager <ekager@mozilla.com>
sblatz
added a commit
to sblatz/fenix
that referenced
this issue
Feb 19, 2020
Co-authored-by: ekager <ekager@mozilla.com>
sblatz
added a commit
to sblatz/fenix
that referenced
this issue
Feb 20, 2020
Co-authored-by: ekager <ekager@mozilla.com>
sblatz
added a commit
to sblatz/fenix
that referenced
this issue
Feb 20, 2020
Co-authored-by: ekager <ekager@mozilla.com>
sblatz
added a commit
to sblatz/fenix
that referenced
this issue
Feb 20, 2020
Co-authored-by: ekager <ekager@mozilla.com>
sblatz
added a commit
that referenced
this issue
Feb 21, 2020
Co-authored-by: ekager <ekager@mozilla.com>
Hi, verified as fixed on the latest |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
🐞 bug
Crashes, Something isn't working, ..
E5
Estimation Point: about 5 days
eng:qa:verified
QA Verified
Feature:HomeScreen
needs:gv
GeckoView bug required to fix the issue. See bugzilla.mozilla.org
P2
Upcoming release
Dependencies
Steps to reproduce
Expected behavior
Tabs screen appears smoothly (with animation?)
Actual behavior
There's a flash of black (or white, depending on Light/Dark mode) and the tabs screen suddenly appears
This also happens when creating a new tab from an open tab (i.e. load page, click 3-dot, select "New tab")
Next steps
GV doesn't think this is a Gecko problem, but rather a problem in Fenix not destroying the SurfaceView in time. So the next steps here are to verify that we're handling the SurfaceView correctly.
I'm not convinced the black flash when navigating away is graphics' fault. We set everything inactive in GeckoView.Display.onSurfaceDestroyed(), which I presume happens when the SurfaceView is destroyed by navigating away from the browser fragment. No rendering can occur after this point. I'm not sure what we could do, when we don't have a surface to render in to. Isn't the problem that there is a delay between the SurfaceView being destroyed and the TabsFragment being created and shown? So the android UI displays black during this time.
Device information
Edit by @sblatz
Acceptance Criteria
(black/white flash depending on if user is in Dark/Light Mode)
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: