Closed Bug 1359601 Opened 9 years ago Closed 9 years ago

Switching between multiple GeckoViews results in white screen

Categories

(GeckoView :: General, enhancement)

53 Branch
All
Android
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: droeh, Unassigned)

Details

I tracked the cause of this down to bug 1332331. Working on GV-based custom tabs, previously I had relied on just removing remote="true" from the browser element in geckoview.xul to disable e10s; after the patch for bug 1332331 I have the following problem: Open a custom tab from one app, leave it running Open a custom tab from a second app Switch back to the first custom tab You should see the first custom tab displayed normally, of course; instead you now get a white screen. I've tried adding remote="true" back into the browser element in geckoview.xul and using the GeckoViewSettings to disable e10s, but this results in a start-up crash.
Eugen, any ideas here? I'm looking into the start-up crash that happens when I try to disable e10s view GeckoViewSettings a bit more at the moment.
Flags: needinfo?(esawin)
Oops, the start-up crash was just my mistake. Unfortunately the reality isn't much better; on opening the second custom tab, we get a black screen for a few (~5ish) seconds followed by a white screen, and logcat messages about failing to launch the tab subprocess.
OK, should've thought to try this to begin with, but: removing remote="true" AND disabling e10s via GeckoViewSettings seems to do the trick. However, I was hoping with the e10s toggle that I would no longer have to remove remote="true" from geckoview.xul, as we need to address that before landing GV-based custom tabs. Eugen, any thoughts here? Am I just stuck waiting for us to be able to use custom attributes for GV?
With bug 1332331 we removed the remote attribute from geckoview.xul. Adjusting the GeckoView multiprocess setting (on by default) should work. If you need a way to pass the setting through XML attributes, you'll need to block on bug 1359422.
Flags: needinfo?(esawin)
Ah, I didn't notice bug 1332331 removed the remote attribute -- thought that was just carried over from my GV custom tabs patch. Thanks for the info. Closing this since it's no longer relevant.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → INVALID
Product: Firefox for Android → GeckoView
You need to log in before you can comment on or make changes to this bug.