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
User avatar
emeasoft
Posts: 1060
Joined: Wed Apr 01, 2009 4:12 pm
Location: emeasoft
Contact:

CEF Browser Error

Postby emeasoft » Mon Sep 25, 2017 3:44 pm

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
Attachments
Cef_Error.zip
(2.13 KiB) Downloaded 37 times
User avatar
bingen
Posts: 378
Joined: Mon Jul 07, 2014 8:17 pm
Location: Bilbao
Contact:

Re: CEF Browser Error

Postby bingen » Tue Oct 10, 2017 5:49 pm

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
User avatar
emeasoft
Posts: 1060
Joined: Wed Apr 01, 2009 4:12 pm
Location: emeasoft
Contact:

Re: CEF Browser Error

Postby emeasoft » Tue Oct 10, 2017 7:46 pm

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
User avatar
emeasoft
Posts: 1060
Joined: Wed Apr 01, 2009 4:12 pm
Location: emeasoft
Contact:

Re: CEF Browser Error

Postby emeasoft » Tue Oct 10, 2017 7:50 pm

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 2449 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
User avatar
jfgimenez
Site Admin
Posts: 5619
Joined: Mon Apr 06, 2015 8:48 pm
Contact:

Re: CEF Browser Error

Postby jfgimenez » Wed Oct 11, 2017 7:11 pm

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
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
User avatar
emeasoft
Posts: 1060
Joined: Wed Apr 01, 2009 4:12 pm
Location: emeasoft
Contact:

Re: CEF Browser Error

Postby emeasoft » Wed Oct 11, 2017 8:43 pm

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 2410 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
User avatar
jfgimenez
Site Admin
Posts: 5619
Joined: Mon Apr 06, 2015 8:48 pm
Contact:

Re: CEF Browser Error

Postby jfgimenez » Thu Oct 12, 2017 11:15 pm

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".
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
User avatar
emeasoft
Posts: 1060
Joined: Wed Apr 01, 2009 4:12 pm
Location: emeasoft
Contact:

Re: CEF Browser Error

Postby emeasoft » Fri Oct 13, 2017 2:27 pm

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
User avatar
jfgimenez
Site Admin
Posts: 5619
Joined: Mon Apr 06, 2015 8:48 pm
Contact:

Re: CEF Browser Error

Postby jfgimenez » Sat Oct 14, 2017 10:01 pm

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
User avatar
emeasoft
Posts: 1060
Joined: Wed Apr 01, 2009 4:12 pm
Location: emeasoft
Contact:

Re: CEF Browser Error

Postby emeasoft » Mon Oct 16, 2017 12:45 pm

Good morning Gimenez,

Understood.
Thank you for your patience!

Regards,

André Corrêa

Return to “English”