Hi Sergey,

this sounds like expected behavior to me. If you move the mouse over a 
child widget, the parent should fire a "mouseout" event, just like in 
the DOM. You might be thinking of the IE-only "mouseleave" event that 
fires only if the cursor leaves the bounds of the element.

But looking at your example, isLeftPressed always returns true for the 
mousemove/mouseover/mouseout events, whether the button is actually 
pressed or not. That looks like a known issue:

http://bugzilla.qooxdoo.org/show_bug.cgi?id=3353

isLeftPressed is affected because it uses qx.event.type.Mouse 
getButton() internally.

Does this answer your question?


Regards,
Daniel

sergey miryanov schrieb:
> Hi all!
> 
> I have a strange error:
> I create a window, place a container.Scroll to window and fill
> scroll-container with widgets. Add listeners for mousemove, mouseout,
> mousedown, mouseup, mouseover to scroll-container.
> 
> Mousemove handler tracks mouse movement if mouse button pressed. If I
> move mouse from one widget to another mouseout event raised - I think
> this is a bug, because I don't move mouse out from scroll-container.
> 
> Playground example: http://preview.tinyurl.com/2usn8u9. Please open
> javascript console (chrome console or firebug console) to see how
> event handlers work.
> 
> Regards,
> Sergey
> 
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> 


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to