Hi all,
I have debugged the mousewheel issue further.
First the last version upon which I built my application was
OpenLaszlo 4.7.x Latest trunk@15165 (15177) 2009-11-17T09:19:57Z
It was before the release of 4.7.0 which is
OpenLaszlo 4.7.0 Production branches/4.7@15482 (15483) 2010-01-16T11:49:52Z
In version 15177 the mousewheel events work but in 15483 they do not.
I also confirmed that the mousewheel events work in 4.6.1
THE FOLLOWING IS IMPORTANT:
The mousewheel events work if I drop in the servlet into tomcat and let
the laszlo servlet inside Tomcat
to do the compilation.
So compiling with lzc the mousewheel events still work with 4.7.15165
but do not work anymore in 4.7.15482
They do still work when letting the servlet do the ondemand compilation
at least in 4.9.0 release.
But when testing with 5.0.19462 they do not work inside tomcat either.
When Phil Romanik instructed me to try out the laszlo Explorer at address
http://labs.openlaszlo.org/trunk-nightly/laszlo-explorer/index.html?lzr=swf10#_lzbookmark=Laszlo%20in%2010%20Minutes%7CBasics
The mousewheel worked (running inside tomcat)
But now that I go there the mousewheel events do not work there either.
The example application I use for testing is
<canvas debug="true">
<view height="100" width="150" bgcolor="red" clip="true">
<text multiline="true" width="400">
asdfasdf asdfasdfasdf asdfasdf asdfasdfasdf asdfasdf
asdfasdfasdf asdfasdf asdfasdfasdf asdfasdf asdfasdfasdf asdfasdf
asdfasdfasdf asdfasdf asdfasdfasdf asdfasdf asdfasdfasdf asdfasdf
asdfasdfasdf asdfasdf asdfasdfasdf asdfasdf asdfasdfasdf asdfasdf
asdfasdfasdf asdfasdf asdfasdfasdf asdfasdf asdfasdfasdf asdfasdf
asdfasdfasdf asdfasdf asdfasdfasdf asdfasdf asdfasdfasdf asdfasdf
asdfasdfasdf asdfasdf asdfasdfasdf asdfasdf asdfasdfasdf asdfasdf
asdfasdfasdf asdfasdf asdfasdfasdf
</text>
<scrollbar axis="x" usemousewheel="true"/>
<scrollbar axis="y" mousewheelactive="true" usemousewheel="true"/>
<handler name="onmousewheeldelta" reference="lz.Keys" args="delta"><![CDATA[
Debug.debug("Delta = %w", delta);
]]></handler>
</view>
</canvas>
It tests both the scrollbar and the mousewheel events.
I can not go back to the older laszlo in my project since I have
restructered it and it now uses for example mixins.
I also can not release it because mousewheel is a show stopper for my
customer.
So I am pretty much stuck between a rock and a hard place.
- Rami Ojares