-
Notifications
You must be signed in to change notification settings - Fork 475
Create dummy engine surface with correct background color until we get a onFirstContentfulPaint #6757
Comments
I filed this in AC because this is where the onFirstContentfulPaint callbacks live and I figure at the minimum we would need to expose those to Fenix in order to show/hide some dummy background view. |
Would it also be an option to hide the geckoview until we get |
That sounds way less complicated if that works 🙂 |
I saw your PR and wonder if you tried this and if that works? If so then we could consider maybe adding this to |
Currently opening a new page temporarily shows a pure white page before loading actual content regardless of the browser theme.
See Fenix issue: mozilla-mobile/fenix#6313
We can use CompositorController clearColor https://mozilla.github.io/geckoview/javadoc/mozilla-central/org/mozilla/geckoview/CompositorController.htmlmozilla-mobile/fenix#6313
After talking to the GV team, unfortunately the above solution likely does not work anymore with WebRender enabled. FxR uses a dummy surface with the correct color until they get a onFirstContentfulPaint and that's probably the direction we'd have to go as well to fix this.
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: