[Laszlo-dev] For Review: Change 20080602-maxcarlson-O Summary: Fix onmouseup in dhtml

P T Withington ptw at pobox.com
Thu Jun 5 05:32:43 PDT 2008


This may be related to the Firefox issue described here: http://jira.openlaszlo.org/jira/browse/LPP-4542 
  where on some browsers Firefox does not send the 'mouse up outside'  
event to a plug-in.

On 2008-06-04, at 19:07 EDT, Mamye Kratt wrote:

> If you drag an image below the clip area .................
>
> We have had a bug for this one for a long time.
>
> Mamye
>  ----- Original Message -----
>  From: Philip Romanik
>  To: Max Carlson
>  Cc: Henry Minsky ; laszlo-dev at openlaszlo.org
>  Sent: Tuesday, June 03, 2008 7:06 AM
>  Subject: Re: [Laszlo-dev] For Review: Change 20080602-maxcarlson-O  
> Summary: Fix onmouseup in dhtml
>
>
>  Approved. I did find an issue with FF2/dhtml. If you drag an image  
> below the clip area (the mouse moves into the dev console), the  
> image becomes stuck to the cursor. This works fine in IE7/dhtml and  
> SAF3/dhtml.
>
>
>
>    Change 20080602-maxcarlson-O by maxcarlson at Roboto on 2008-06-02
>    19:30:58 PDT
>         in /Users/maxcarlson/openlaszlo/trunk-clean
>         for http://svn.openlaszlo.org/openlaszlo/trunk
>
>    Summary: Fix onmouseup in dhtml
>
>    New Features:
>
>    Bugs Fixed: LPP-6072 - lzpix/dhtml You can't end a mouse drag
>
>    Technical Reviewer: promanik
>    QA Reviewer: hminsky
>    Doc Reviewer: (pending)
>
>    Documentation:
>
>    Release Notes:
>
>    Details: LzSprite.js - Conditionalize __mouseisdown treatment for  
> IE to ensue onmouseupoutside works.  Move cleanup of  
> LzMouseKernel.__lastMouseDown property from LzMouseKernel.js to  
> __globalmouseup().
>
>    LzMouseKernel.js - Move cleanup of LzMouseKernel.__lastMouseDown  
> property to LzSprite.__globalmouseup().
>
>
>    Tests: See LPP-6072 for a testcase.  Also, /test/lfc/legals/  
> keyboardandmouse.lzx?lzr=dhtml&lzt=html shows both onmouseup and  
> onmouseupoutside events when dragging inside the leftmost red box to  
> the white canvas and releasing the mouse button in both IE and  
> Firefox DHTML.
>
>    Files:
>    M      WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
>    M      WEB-INF/lps/lfc/kernel/dhtml/LzMouseKernel.js
>
>    Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20080602-maxcarlson-O.tar



More information about the Laszlo-dev mailing list