Approved!

Do you think there are other places where mouse over/out events are failing to propagate, e.g. LzTextSprite.as? I'm curious when this started failing...

On 12/8/10 8:39 PM, Henry Minsky wrote:
Change hqm-20101208-NmE by [email protected] on 2010-12-08 23:33:37 EST
     in /Users/hqm/openlaszlo/trunk-diamond
     for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: fix for setting custom cursor

New Features:

Bugs Fixed: LPP-9568

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

Documentation:

Release Notes:

Overview:


Details:

Something was preventing the mouse event handlers installed by
LzSprite#setCursor from ever being called. I don't know what the issue
is, I suspect maybe some modifications that were made to __mouseevent
are stopping the event propagation before it gets to the cursor mouse
event handlers.

So rather than figure out why the cursorGotMouseover/cursorGotMouseout
event handlers are not getting called, I moved the cursor checking
code into __mouseevent's mouseover/mouseout clause, which seems like a
good place for it.


Tests:

+ Test case from bug report, in swf10, custom cursor appears and disappears as 
mouse is moved
in and out of first view

Files:
M       WEB-INF/lps/lfc/kernel/swf9/LzSprite.as

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/hqm-20101208-NmE.tar

Reply via email to