|
|
|
[
Permlink
| « Hide
]
Lorien Henry-Wilkins - 29/Jan/08 06:45 PM
THis is also a problem in Netscape and Opera
Testcase is to patch as follows, load /trunk/lps/components/extensions/test/html-swf.jsp and use the mouse wheel.
Index: lps/components/extensions/test/html.lzx =================================================================== --- lps/components/extensions/test/html.lzx (revision 8180) +++ lps/components/extensions/test/html.lzx (working copy) @@ -20,6 +20,11 @@ parent.main.setSrc(''); </handler> </button> + <text> + <handler name="onmousewheeldelta" reference="LzKeys" args="d"> + this.setText(d); + </handler> + </text> <text name="status" y="3" fontstyle="bold" visible="${parent.main.loading}">Loading...</text> <html name="main" heightoffset="-74" widthoffset="-19" xoffset="7" yoffset="50" history="true"> <handler name="oninit"> Author: max
Date: 2008-03-05 16:39:43 -0800 (Wed, 05 Mar 2008) New Revision: 8186 Modified: openlaszlo/trunk/lps/includes/source/embednew.js Log: Change 20080305-maxcarlson-0 by maxcarlson@Roboto on 2008-03-05 15:17:23 PST in /Users/maxcarlson/openlaszlo/trunk for http://svn.openlaszlo.org/openlaszlo/trunk Summary: Fix swf mousewheel support on windows opera and firefox when wmode is transparent New Features: Bugs Fixed: Technical Reviewer: promanik QA Reviewer: lhenrywilkins@laszlosystems.com Doc Reviewer: (pending) Documentation: Release Notes: Details: Opera on OS X doesn't support the mousewheel in SWF. This change adds mousewheel events to Windows firefox and opera when wmode is transparent. Tests: See Modified: openlaszlo/trunk/lps/includes/source/embednew.js =================================================================== --- openlaszlo/trunk/lps/includes/source/embednew.js 2008-03-05 23:22:05 UTC (rev 8185) +++ openlaszlo/trunk/lps/includes/source/embednew.js 2008-03-06 00:39:43 UTC (rev 8186) @@ -133,7 +133,9 @@ dojo.flash.setSwf(swfargs, minimumVersion); Lz.__BrowserDetect.init(); - if (Lz.__BrowserDetect.OS == 'Mac') { + if (Lz.__BrowserDetect.OS == 'Mac' || + // fix for + ( swfargs.wmode == 'transparent' && Lz.__BrowserDetect.OS == 'Windows' && (Lz.__BrowserDetect.isOpera || Lz.__BrowserDetect.isFirefox))) { LzMousewheelKernel.setCallback(app, '_sendMouseWheel'); } } _______________________________________________ Laszlo-checkins mailing list Laszlo-checkins@openlaszlo.org http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins Is this going to be fixed in pagan-deities since that is the branch of openlaszlo we are using for webtop AFAIK.
actually, we switched to opaque for Firefox Windows. This doesn't fix it for that case.
Author: max
Date: 2008-03-12 13:47:45 -0700 (Wed, 12 Mar 2008) New Revision: 8237 Modified: openlaszlo/trunk/lps/includes/source/embednew.js Log: Change 20080312-maxcarlson-i by maxcarlson@Roboto on 2008-03-12 12:34:14 PDT in /Users/maxcarlson/openlaszlo/trunk for http://svn.openlaszlo.org/openlaszlo/trunk Summary: UPDATED Fix swf mousewheel support on windows opera and firefox when wmode is transparent or opaque New Features: Bugs Fixed: Technical Reviewer: promanik QA Reviewer: lhenrywilkins@laszlosystems.com Doc Reviewer: (pending) Documentation: Release Notes: Details: Opera on OS X doesn't support the mousewheel in SWF. This change adds mousewheel events to Windows firefox and opera when wmode is transparent. Tests: See Modified: openlaszlo/trunk/lps/includes/source/embednew.js =================================================================== --- openlaszlo/trunk/lps/includes/source/embednew.js 2008-03-12 20:14:29 UTC (rev 8236) +++ openlaszlo/trunk/lps/includes/source/embednew.js 2008-03-12 20:47:45 UTC (rev 8237) @@ -135,7 +135,7 @@ Lz.__BrowserDetect.init(); if (Lz.__BrowserDetect.OS == 'Mac' || // fix for - ( swfargs.wmode == 'transparent' && Lz.__BrowserDetect.OS == 'Windows' && (Lz.__BrowserDetect.isOpera || Lz.__BrowserDetect.isFirefox))) { + ((swfargs.wmode == 'transparent' || swfargs.wmode == 'opaque') && Lz.__BrowserDetect.OS == 'Windows' && (Lz.__BrowserDetect.isOpera || Lz.__BrowserDetect.isFirefox))) { LzMousewheelKernel.setCallback(app, '_sendMouseWheel'); } } _______________________________________________ Laszlo-checkins mailing list Laszlo-checkins@openlaszlo.org http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins (trunk 4 build r8307)
Ran test/components/perf-button.lzx and test/components/layouttest.lzx successfully in swf and dhtml. |
||||||||||||||||||||||||||||||||||||||||||||||||||||