[Laszlo-dev] For Review: Change 20080604-hqm-u Summary: fix text selectability in swf9

André Bargull a.bargull at intensis.de
Wed Jun 4 23:54:05 PDT 2008


I can't reproduce this with Firefox, swf9, WinXP. But maybe it's related 
to this issue, I found out yesterday:
clicking on a button does not fire an "onclick"-event in swf9, but there 
are tons of other events ("onmouseover", "ondragin" etc).
Somehow it's related to changing the resource-number, e.g. if the 
resource-number does not change, I get the "onclick"-event.
(you can test this if you insert a return-statement at the very 
beginning of LzSprite#stop(..))
> <canvas>
>     <button name="bar" text="btn" >
>         <handler name="onclick" >
>             Debug.write("onclick - btn");
>         </handler>
>     </button>
>     <!-- just to show up debug-window at startup -->
>     <handler name="oninit" >Debug.write("started");</handler>
> </canvas>


On 6/5/2008 5:34 AM, Henry Minsky wrote:
> Actually, strangely, the jitter only seems to happen when the 
> dev-console is also
> being displayed. If I display the app with lzt=swf or lzt=html I don't 
> see it. 
>
> So I wonder if this is some reaction of having both a swf9 and a swf8 
> app up at the
> same time,  or else something to do with new embedding changes?? 
>
>
>
> On Wed, Jun 4, 2008 at 11:12 PM, Henry Minsky 
> <hminsky at laszlosystems.com <mailto:hminsky at laszlosystems.com>> wrote:
>
>     There is some sort of jitter in the weather demo, when you hold
>     the mouse down
>     in a tab bar, the mouse seems to alternate rapidly between the
>     hand cursor and the
>     arrow cursor (in Safari, swf9, OSX). 
>
>     Is something toggling the selectability in response to an
>     onmousedown event someplace? 
>
>
>
>
>
>     On Wed, Jun 4, 2008 at 10:33 PM, Henry Minsky
>     <henry.minsky at gmail.com <mailto:henry.minsky at gmail.com>> wrote:
>
>         Change 20080604-hqm-u by hqm at badtzmaru.home on 2008-06-04
>         22:31:27 EDT
>            in /Users/hqm/openlaszlo/trunk2/WEB-INF/lps/lfc
>            for http://svn.openlaszlo.org/openlaszlo/trunk/WEB-INF/lps/lfc
>
>         Summary: fix text selectability in swf9
>
>         New Features:
>
>         Bugs Fixed: LPP-6114
>
>         Technical Reviewer: andre
>         QA Reviewer: pbr
>         Doc Reviewer: (pending)
>
>         Documentation:
>
>         Release Notes:
>
>         Details:
>
>         + set mouseEnabled = true for selectable textfield
>
>
>         Tests:
>
>         text which says "I am selectable..."  is selectable in
>         test/swf9/hello.lzx test
>
>         Files:
>         M      kernel/swf9/LzTextSprite.as
>
>         Changeset:
>         http://svn.openlaszlo.org/openlaszlo/patches/20080604-hqm-u.tar
>
>
>
>
>     -- 
>     Henry Minsky
>     Software Architect
>     hminsky at laszlosystems.com <mailto:hminsky at laszlosystems.com>
>
>
>
>
> -- 
> Henry Minsky
> Software Architect
> hminsky at laszlosystems.com <mailto:hminsky at laszlosystems.com>
>


More information about the Laszlo-dev mailing list