Closed Bug 1299922 Opened 4 years ago Closed 4 years ago
Fennec will often show a flash of the contents of the previous tab when switching tabs
STR: 1) Open 2 tabs with web content. 2) Switch between tabs. Expected: Content of selected tab is displayed. Actual: The Content of the previous frame is displayed for a very brief moment causing the content to appear to flash. It looks to me like content of the selected tab needs to be recomposited or at least cleared sooner and that the flash of previous content is just what was last composited to the surface.
I've seen this a lot as well, we should definitely fix.
I did a mozregression and found Bug 1291373 to be the cause.
This is the change that caused the regression: https://bugzilla.mozilla.org/attachment.cgi?id=8780258&action=diff#a/mobile/android/geckoview/src/main/java/org/mozilla/gecko/gfx/LayerRenderer.java_sec10
Attachment #8787446 - Flags: review?(nchen)
Attachment #8787446 - Flags: review?(nchen) → review+
Updated to reflect updates in Bug 1297853. Cary forward r+ from :jchen
Attachment #8787446 - Attachment is obsolete: true
Pushed by email@example.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/eb90834c4f10 Keep surface covered until it has been painted when switching tabs in Fennec r=jchen
Verified as fixed on 51 Beta 9; Device: Nexus 9 (Android 7.0) and Asus Transformer Pad (Android 4.2.1).
You need to log in before you can comment on or make changes to this bug.