Página 1 de 1

CEF Browser Error

Publicado: Lun Sep 25, 2017 3:44 pm
por 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

Publicado: Lun Oct 02, 2017 1:03 pm
por emeasoft
Olá

Alguma solução ?

Grato

Mário Angelini

Re: CEF Browser Error

Publicado: Mar Oct 10, 2017 5:49 pm
por 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

Publicado: Mar Oct 10, 2017 7:46 pm
por 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

Publicado: Mar Oct 10, 2017 7:50 pm
por 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 KiB) Visto 6073 veces
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

Publicado: Mié Oct 11, 2017 7:11 pm
por jfgimenez
emeasoft escribió: 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

Publicado: Mié Oct 11, 2017 8:43 pm
por 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) Visto 6034 veces
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

Publicado: Jue Oct 12, 2017 11:15 pm
por jfgimenez
André,

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

Código: Seleccionar todo

::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

Publicado: Vie Oct 13, 2017 2:27 pm
por 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 (https://goo.gl/aPrZNm) 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

Publicado: Sab Oct 14, 2017 10:01 pm
por 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

Publicado: Lun Oct 16, 2017 12:45 pm
por emeasoft
Good morning Gimenez,

Understood.
Thank you for your patience!

Regards,

André Corrêa