[Mono-list] About the thumbnail creator

Todd Berman tberman@sevenl.net
Wed, 16 Jun 2004 12:20:49 -0400


I think the issue is mozilla not getting enough time to render. I would 
try putting a Thread.Sleep (3000) or something as the first line of code 
in the NetStop handler.

--Todd

Benoit Caccinolo wrote:
> When I launch it a window appears but nothing is displayed in it. Few
> seconds after the program quits and my shot.png has the good size but is
> empty. 
> 
> The problem is the same with any other web page, even local one.
> 
> On Wed, 2004-06-16 at 16:57, Denis Gervalle wrote:
> 
>>Benoit Caccinolo wrote:
>>
>>>On Wed, 2004-06-16 at 14:34, Denis Gervalle wrote:
>>>
>>>
>>>>Replace "wc.LoadUrl(args[0]);" by "wc.LoadUrl(url);" and maybe, it will 
>>>>works better when the url is not provided as the first argument. 
>>>>Checking that url is not null before proceding may also be useful when 
>>>>you forget to provide an Url.
>>>
>>>
>>>It is modified but the problem is the same :(
>>>
>>
>>Benoit,
>>
>>What Url are you trying ?
>>For example, I have notice that it works well for http://www.go-mono.com
>>but not for http://www.softec.st.
>>This is probably due to some redirection in the way.
>>Here is my command line that works:
>>mono progname.exe -width 240 -height 160 http://www.go-mono.com
>>
>>Denis Gervalle
>>SOFTEC sa
>>http://www.softec.st
> 
> 
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>