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

Mamye Kratt mamye at laszlosystems.com
Tue Jun 3 06:59:46 PDT 2008


Known issue.

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 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20080603/9c807ef2/attachment-0001.html


More information about the Laszlo-dev mailing list