In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

CEF Browser Error

Xailer professional forum in English
Responder
Avatar de Usuario
emeasoft
Mensajes: 1088
Registrado: Mié Abr 01, 2009 4:12 pm
Ubicación: emeasoft
Contactar:

CEF Browser Error

Mensaje 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
Adjuntos
Cef_Error.zip
(2.13 KiB) Descargado 172 veces
Avatar de Usuario
bingen
Mensajes: 565
Registrado: Lun Jul 07, 2014 8:17 pm
Ubicación: Bilbao
Contactar:

Re: CEF Browser Error

Mensaje 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.
BiSoft Desarrollo de software profesional
http://www.bisoft.es
Avatar de Usuario
emeasoft
Mensajes: 1088
Registrado: Mié Abr 01, 2009 4:12 pm
Ubicación: emeasoft
Contactar:

Re: CEF Browser Error

Mensaje 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
Avatar de Usuario
emeasoft
Mensajes: 1088
Registrado: Mié Abr 01, 2009 4:12 pm
Ubicación: emeasoft
Contactar:

Re: CEF Browser Error

Mensaje 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 6042 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
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5706
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

Re: CEF Browser Error

Mensaje 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
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
Avatar de Usuario
emeasoft
Mensajes: 1088
Registrado: Mié Abr 01, 2009 4:12 pm
Ubicación: emeasoft
Contactar:

Re: CEF Browser Error

Mensaje 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 6003 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
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5706
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

Re: CEF Browser Error

Mensaje 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".
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
Avatar de Usuario
emeasoft
Mensajes: 1088
Registrado: Mié Abr 01, 2009 4:12 pm
Ubicación: emeasoft
Contactar:

Re: CEF Browser Error

Mensaje 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
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5706
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

Re: CEF Browser Error

Mensaje 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.
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
Avatar de Usuario
emeasoft
Mensajes: 1088
Registrado: Mié Abr 01, 2009 4:12 pm
Ubicación: emeasoft
Contactar:

Re: CEF Browser Error

Mensaje por emeasoft »

Good morning Gimenez,

Understood.
Thank you for your patience!

Regards,

André Corrêa
Responder