Skip to content

CEF Windows become blank on switch on some PC #1567

@haron4igg

Description

@haron4igg

Describe the bug
On some PC CEF framework shows extremely low performance and some side issues with multiple CEF windows.
In archive attached bellow, there is a resource which creates 4 CEF-gui windows with very basic content. When user click on the links, current window become hidden (and setRenderingPaused set to true) and another window become visible.
At some point, another window just apperas blank (white).

To reproduce
webtest.zip

Environment
Wndows 7, 64 bit.
4 Gb Ram
CPU: AMD A8-7600 Radeon R7

Video
How is it looks like (please ignore audio):
https://youtu.be/-Duo6zHZPho

How is it suppose to be:
https://youtu.be/8z6krUz7rKg

Additional context
Orriginaly issue was observed with general low performance of CEF on this PC (client tried to open window since video beginning and it took ~43 seconds to load the window):
https://youtu.be/HlwZivqx0eM?t=43

I've tried different implementations. Initial one was single-page application, with a lot of html and js code on the same page.
Animations and general perfromance and load time was huge for this particular client. Later i tried to use one browser, but split logic by different pages. It shown better performance, but 'tab-switching' took to much time.
So i've tried to make different CEF windows per tab. With latest approach, html page performance looks to be OK. But window switching and loading takes crazy amount of time and at some moment window context gets cleaned.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions