-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[Bug] When re-entering Fenix, occasionally toolbar UI is missing #4529
Comments
The same happened on Nightly 190802 18:05 (Build #12141932) build in my Android 9.0 phone |
Confirmed on Nightly 190802 18:05 (Build #12141931), Android 8.1.0, Moto G5+. I'm also experiencing #4461, but that's been going on a long time and this is new. |
#4412 was closed 5 days ago. I think my master checkout was from 2 days ago. |
I can't find steps to reproduce, but I can determine why the toolbar and quick action sheet both might go uninflated. That should be enough to produce a fix, but I'm not certain how to test the fix yet. |
@ekager This looks like it could be related (caused by the same problem) I described in #4427. It's possible for the BrowserFragment to be created before the sessions have been restored. Without a |
…g instance state breaks UI
…g instance state breaks UI
…g instance state breaks UI
…g instance state breaks UI
…g instance state breaks UI
Verified as fixed using latest debug build(from the master) Also, I tried the following:
But everything worked as expected. I will close this issue and re-open it in case we will be able to reproduce/see this bug in the future. |
Happened twice to me after this issue was supposedly fixed. I think it's less frequent but still happens. First time an older build, with no tabs open. Second time on a build from 2019-08-15, with tabs open. Interestingly, both times, I got a white screen with "pull to refresh" enabled. Otherwise, "pull to refresh" is not enabled. |
I've also had this a few times since the fix, on 1.3.1. |
I think this is the same issue as #12490, and I just hit it again on Nightly 200830, but was unable to take a layout capture. |
Steps to reproduce
Expected behavior
Upon trying to replicate this bug, I end up on the tab list, with all tabs intact, and the UI functional. I feel this provides a "clean slate" so I can enter a new search term instead of reading old tabs.
Alternatively (to match Firefox Android), the page and toolbar would be present, and I can enter a new URL and switch tabs.
Actual behavior
One time, I ended up on the webpage I was reading (either back one history entry, or on the page I was reading), but with the toolbar missing, replaced by a black/gray void at the bottom of the page. Page scrolling did not work at first, but later started working. I had to restart Firefox Preview by swiping from Recent Apps and relaunching (which brought me to the tab list) to make the toolbar come back.
I took some Android Studio layout captures of Fenix in the no-toolbar state, as well as the normal state after restarting.
Comparing the layout captures, in the bugged layout,
id/toolbar
is missing andid/nestedScrollQuickAction
has no children.Device information
gradle.properties
org.gradle.jvmargs
edited to reduce memory consumption)Possibly related to #4461 '[Bug] When re-entering Fenix, open tabs all change to "about:blank"'? This time, my tabs were still there and not replaced with about:blank. In the past, I experienced this issue.
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: