Comment 6 for bug 1502675

Revision history for this message
JkB (joergberroth) wrote : Re: [Bug 1502675] Re: Webview turns black when it gets refocused

Hi,
maybe "unhidden" is the right word if it describes an in app "hiding" of
the webview - by another page in the stack for example.
I am not into how this is handled, but it sounds like we talk about the
same effect ;-).
A quick fix could be just to not paint it black but e.g. in background
color as this would increase user experience recognizably for states
where it takes a while to get contents back (creating a new one?!).

Looking forward to your improvement.

Am 2015-10-20 um 22:06 schrieb Chris Coulson:
> Are you sure you mean "refocused", or do you mean that it's black when
> it's unhidden? If so, that's currently expected as we tear down the
> compositor for a hidden webview in order to free up memory.
>
> I have a plan to make this a bit better, particularly for the switching
> tabs case in the browser where we'll probably recycle the compositor
> rather than tearing one down and creating a new one.
>