Black screen on initial load

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Black screen on initial load

Postby jdekeij » Tue Aug 02, 2022 8:23 am

Dear developer

We are currently busy upgrading the CEF version from v81.0.4044.138 to v103.0.5060.134 in the UNIFACE product.
What strikes me is that the initial startup of a uniface form with a cef renderer first shows a black screen. There are discussions on this topic in this forum and other web sites, but I do not see any solution to this problem.

My question: Is this under investigation or are there any plans to fix this issue?

Thanks very much for your time

Jasper de Keijzer
Principal software engineer at RocketSoftware.
jdekeij
Techie
 
Posts: 11
Joined: Mon Jun 22, 2020 8:21 am

Re: Black screen on initial load

Postby amaitland » Sun Aug 07, 2022 3:07 pm

Check the log file for errors.
Maintainer of the CefSharp project.
amaitland
Virtuoso
 
Posts: 1290
Joined: Wed Jan 14, 2015 2:35 am

Re: Black screen on initial load

Postby jdekeij » Thu Sep 08, 2022 4:59 am

The solution is to keep the parent window invisible till the onLoadEnd comes in. It can also be done in the OnAfterCreated but this may still show some black.

Jasper de Keijzer
jdekeij
Techie
 
Posts: 11
Joined: Mon Jun 22, 2020 8:21 am


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 34 guests