Settings Menu not displayed properly
Devices: Nexus 5 (Android 6.0.1) Nexus 6 (Android 7.1.1) build: Focus 4.0 Beta Build #3691
Steps to reproduce:
Launch Focus and go to Settings -> Search. Add a new search engine. Stay a couple of minutes(2-3) and tap back.
Expected results: All the options are correctly displayed, also when tapping back to Settings Menu.
Actual results: The options are one above each other. Not reproducible all the time but I observed this behavior leaving the app for a couple of minutes and then switching between options.
See screenshot:

Mhhhh. This looks like backstack shenanigans. In MainActivity we had some problems too and we decided to handle back presses on our own and avoided using the backstack.
I saw this once too but couldn't repro it afterwards. I think this happens intermittently, but still, it does look like it's a high priority. I'll tentatively mark it as a release blocker, @bbinto what do you think?
@npark-mozilla release blocker
So far I am not able to reproduce this.
Finally I'm able to see this... (Nexus 5 emulator, API 23) in my case it happened after pressing the up button from the URL autocomplete form.
@SorinaFlorean do you remember if this happened when pressing the back button that is always visible at the bottom or after pressing the one in the toolbar?
Looking at the state with uiautomatorviewer I can see that in fact two fragments are visible at the same time.
This is a heisenbug. I haven't been able to ever see it again.
The problem seems to come up when a fragment transaction without backstack happens in between transactions with backstack. A good explanation of the issue is this blog posting: http://www.andreabaccega.com/blog/2015/08/16/how-to-avoid-fragments-overlapping-due-to-backstack-nightmare-in-android/
One way I can reproduce this is by piggybacking on the issue from #1924. We definitely should land the patch from #1924 to fix at least part of the problem. I'll investigate if there are other paths in our settings that execute fragment transactions without backstack.
I haven't found any other reason than #1924. This has been merged to master now.
@npark-mozilla @SorinaFlorean Can you try to reproduce this in the latest builds?
@pocmo I was able to reproduce this whilest working on #1923 and #1953
Edit: Actually scratch that, I was using an older build, I'll try it with the latest now
Edit # 2: Can't reproduce this anymore with the latest builds. I'd say #1924 solved this
I'm going to close this for now, and flag for QA verification.
I can't repro this either, even with STRs from #1924 combined