yhejazi2016 / open-webkit-sharp

Automatically exported from code.google.com/p/open-webkit-sharp
0 stars 0 forks source link

Delay on form load of webkitbrowser #74

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. WebKitBrowser1.Navigate("http://www.google.com/") 'doesn't matter what url 
locally or otherwise.

What is the expected output? What do you see instead?
Control takes about 5-7 seconds before it loads any url.  After the control is 
loaded once, it loads instantly.  It doesn't have to be the same Form.  

What version of the product are you using? On what operating system?
r116 via SVN.  Win7 Pro/x64

Please provide any additional information below.

Original issue reported on code.google.com by njspence...@gmail.com on 10 Feb 2012 at 2:06

GoogleCodeExporter commented 8 years ago
I don't know why this happens. This problem occurs since r70 I think. I keep 
this issue open until I find a solution

Original comment by tsumalis96@gmail.com on 10 Feb 2012 at 3:39

GoogleCodeExporter commented 8 years ago
Ok.  I am going to try building a locked form to fire at startup with a blank 
page.  If is use a timer and form.close event, I think this will be an 
effective workaround.  

I will report back on the effectiveness of this method.

Original comment by njspence...@gmail.com on 20 Feb 2012 at 11:21

GoogleCodeExporter commented 8 years ago
Even if this is effective how can we intergrate it inside the OpenWebKitSharp's 
source?

Original comment by tsumalis96@gmail.com on 21 Feb 2012 at 8:31

GoogleCodeExporter commented 8 years ago
I am not sure.  I wonder why the delay occurs.  I have a Macbook Pro w/ an i7.  

Original comment by njspence...@gmail.com on 21 Feb 2012 at 9:06

GoogleCodeExporter commented 8 years ago
It is not related to the speed of your processor or anything hardware-related. 
Something else is going on. The delay is the same for me both on a 2.2ghz dual 
core cpu and a 3.24ghz quad core so the error is somewhere else. In earlier 
versions of OpenWebKitSharp (sth like r40~r50) this delay did not occur, so 
maybe the reason is that I added more features that delay the engine 
initalization.

Original comment by tsumalis96@gmail.com on 23 Feb 2012 at 8:01

GoogleCodeExporter commented 8 years ago
I agree.  I should have clarified.  I meant processing power is a non
issue.  Some other delay on initialization.

Original comment by njspence...@gmail.com on 23 Feb 2012 at 8:18

GoogleCodeExporter commented 8 years ago
Unfortunately I cannot just remove features because of this delay...

Original comment by tsumalis96@gmail.com on 24 Feb 2012 at 8:26

GoogleCodeExporter commented 8 years ago
That is correct.  That best I can figure right now is a workaround to
invoke the control on main form startup.  It seems odd that regardless of
the CPU speed of the system the delay is about the same.  I swear it is
like a DNS timeout type issue, rather than an invocation of DLLs or
plug-ins.

Original comment by njspence...@gmail.com on 24 Feb 2012 at 8:30

GoogleCodeExporter commented 8 years ago
Possibly no, since when you run WinLauncher that comes with the WebKit build 
from webkit.org this delay doesn't occur.

Original comment by tsumalis96@gmail.com on 25 Feb 2012 at 1:40

GoogleCodeExporter commented 8 years ago
What is your take on the difference then that maybe the cause?

Original comment by njspence...@gmail.com on 2 Mar 2012 at 1:27

GoogleCodeExporter commented 8 years ago
I have the same problem and I made few tests. It's strange because, in my case, 
their is no delay with the url 'http://maxvoltar.com/sandbox/fontsmoothing/'. 
It's the only page I found with that result. The page immédiatly appear. With 
other pages (on the web, comming from my local web server,...) their is a delay 
about 5s.

Original comment by netkod...@gmail.com on 4 Oct 2013 at 10:09