[Laszlo-dev] lztest is starting too early in 4.0

Max Carlson max at openlaszlo.org
Fri Jan 5 10:50:18 PST 2007


Yes.

Henry Minsky wrote:
> Is your updated code for this test checked in?
> 
> On 1/5/07, Max Carlson <max at openlaszlo.org> wrote:
>>
>> If you run http://localhost:8080/legals/test/lztest/lztest-view.lzx in
>> either swf or dhtml you'll see a number of tests for 'x' fail.  I added
>> 'onx' handlers so you can see the x values change over time.  After the
>> tests fail, you can see the x values settle down to the correct values.
>>
>> This suggests that lztest is starting too early.  At first I thought
>> this was related to changes to the event system, but I tested under
>> 4.0b1 and saw the exact same failure mode.
>>
>> Lztest starts when canvas.oninit is sent.  Perhaps canvas.oninit is sent
>> too early in 4.0?  It should only be sent when all children have
>> completed initialization.
>>
>> -- 
>> Regards,
>> Max Carlson
>> OpenLaszlo.org
>>
> 
> 
> 


-- 
Regards,
Max Carlson
OpenLaszlo.org


More information about the Laszlo-dev mailing list