[Laszlo-dev] UPDATED For Review: Change 20090407-hqm-T Summary: workaround for flash/firefox text selection bug

Henry Minsky henry.minsky at gmail.com
Wed Apr 8 15:56:26 PDT 2009


Change 20090407-hqm-T by hqm at badtzmaru.home on 2009-04-07 22:03:57 EDT
     in /Users/hqm/openlaszlo/trunk7
     for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: workaround for flash/firefox text selection bug

New Features:

Bugs Fixed: LPP-7957

Technical Reviewer: max
QA Reviewer: (pending)
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:

+ add 'onmouseenter' event to canvas, sent by LzGlobalMouse. It is
generated when we see a mouse-move event after the mouse has left the
app window, as that means that the mouse is back in the app.

+ the workaround is to defocus whatever text is selected. This is the
only way I could find to get Flash to stop dragging the selection around
with the mouse.






Tests:

Files:
M      WEB-INF/lps/lfc/services/LzGlobalMouse.lzs
M      WEB-INF/lps/lfc/views/LaszloCanvas.lzs

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20090407-hqm-T.tar


More information about the Laszlo-dev mailing list