Fenix: [Bug] Undo tab deletion sometimes leads to unrecoverable blank tab and no web content

Created on 29 Aug 2020  ·  11Comments  ·  Source: mozilla-mobile/fenix

Steps to reproduce

  1. Open more than 1 tab
  2. Delete one tab via the tabs tray
  3. Press "Undo" in snackbar

Expected behavior

Tab restores

Actual behavior

Tab sometimes blanks out and is unrecoverable. Refresh and app restart don't help.

Device information

  • Android device: Pixel 3
  • Fenix version: Nightly

ezgif com-video-to-gif(10)

Tabs Release Blocker engverified ac uplift 🐞 bug

Most helpful comment

We found the issue and will provide a fix in AC.

All 11 comments

I was debugging the same issue today. I was rewriting the way we restore crashed tabs. When restoring the last session state into a new GeckoSession then it turns into this white zombie.
When I kill the app and the same state gets restored then everything's fine.

Interestingly that happens every time in Fenix... but never in sample browser.

@snorp @agi Is this related to the white page bug you are fixing? I don't see anything in the logs, so maybe it's something different.

I only tested with GV nightly, I wonder if that happens with beta or release too. @ekager did you test that?

Just tried and couldn't repro in Beta

Beta is currently on 80, which had the Session code (that was causing white tab) backed out.

We may get a fix for https://bugzilla.mozilla.org/show_bug.cgi?id=1660546 this week too, if it's related to the blank tabs.

Whatever this fix is though, we will need to uplift the fix while 81 is in Beta.

I'll take another look at this today. If needed I'll file a separate GV bug.

@ekager I noticed that in my case (restoring tabs after a crash) only the currently selected tab turns into this zombie. For other tabs it works just fine. Is this something you are seeing too?

We found the issue and will provide a fix in AC.

Tested on Nightly 9/16 following the steps and we didn't encounter any issue.
Device: Google Pixel 3 (Android 11).

@s-ankur do you still experience this issue on Nightly?

Was this page helpful?
0 / 5 - 0 ratings