Page 1 of 1

CEF Browser Error

Posted: Mon Sep 25, 2017 3:44 pm
by emeasoft
Good morning,

If you access a link that opens a window to save a file, the whole program freezes.
Attached is a small example.

Thank you,

André Corrêa

Re: CEF Browser Error

Posted: Mon Oct 02, 2017 1:03 pm
by emeasoft
Olá

Alguma solução ?

Grato

Mário Angelini

Re: CEF Browser Error

Posted: Tue Oct 10, 2017 5:49 pm
by bingen
Yes this is one of the problems of the old verdion of CEF included in Xailer.

Now in Xailer 5 I've changed all the CEF object for new tWebBrowser objects and all works very well, the download of files too.

Regards.

Re: CEF Browser Error

Posted: Tue Oct 10, 2017 7:46 pm
by emeasoft
Boa tarde,
Obrigado pela resposta.
Mas o TWebBrowser não nos atende perfeitamente.
Preferimos usar o CEF Browser.
Aguardamos um retorno do suporte Xailer para o problema mencionado no tópico inicial (exemplo anexo).
Abraços

Mário Angelini

Re: CEF Browser Error

Posted: Tue Oct 10, 2017 7:50 pm
by emeasoft
Thanks for your reply Bingen,

Unfortunately TWebBrowser is based on IE and does not work very well with some pages.
There are several scripting errors when you browse most sites (see attachment).

ScriptErrors.PNG
ScriptErrors.PNG (82.01 KiB) Viewed 2547 times


Ideally, the Xailer team should upgrade CefBrowser to the latest version,
because the one that is included with the IDE is quite old.

Thanks,

André Corrêa

Re: CEF Browser Error

Posted: Wed Oct 11, 2017 7:11 pm
by jfgimenez
emeasoft wrote:Unfortunately TWebBrowser is based on IE and does not work very well with some pages.
There are several scripting errors when you browse most sites (see attachment).

Please, delete any TWebBrowser class that you have in your project, in order to link the one shipped in Xailer. Then, try it again. You'll be surprised that the new IE 11 is light years away from previous IE versions :D

Re: CEF Browser Error

Posted: Wed Oct 11, 2017 8:43 pm
by emeasoft
Hi Gimenez,

Even using the component provided with Xailer, not the TWebBrowser object, there are still some script errors.
ScriptErrors.PNG
ScriptErrors.PNG (13.04 KiB) Viewed 2508 times

You can confirm by navigating to the homepage of the Xailer website (xailer.com) using the component.

We would like to know if you will update CEFBrowser.

Thank you,

André Corrêa

Re: CEF Browser Error

Posted: Thu Oct 12, 2017 11:15 pm
by jfgimenez
André,

put this line of code just after the control is created:

Code: Select all

::oWebBrowser:Silent := .T.

WebBrowser shows, by default, every page error, and that code causes them to be hidden. Firefox and Chrome get that error too, but they don't show it. You can see it in the console under "development tools".

Re: CEF Browser Error

Posted: Fri Oct 13, 2017 2:27 pm
by emeasoft
Good morning Gimenez,

Setting ":Silent" to true, solves the problem. Thank you!

Anyway, we would want to know if CEF will be updated.
In this post [url](https://goo.gl/aPrZNm[/url]) you said you had
issues with CEF 3, but would try to include it in Xailer 5.
You're still working in it or decided not to do?

Regards,

André Corrêa

Re: CEF Browser Error

Posted: Sat Oct 14, 2017 10:01 pm
by jfgimenez
André,

we've not dropped away CEF for now. We're still looking for a way to implement CEF3 into Xailer, but we've had no luck. And now, after seeing the good behaviour of IE11, CEF is not a priority for us. Also, we hope that MS will make Edge available as a component. In that case, we'll forget CEF for sure, since Edge has a very good render engine, and is actively enhanced from MS.

Re: CEF Browser Error

Posted: Mon Oct 16, 2017 12:45 pm
by emeasoft
Good morning Gimenez,

Understood.
Thank you for your patience!

Regards,

André Corrêa