[OpenLayers-Trac] Re: [OpenLayers] #3399: Control.DragFeature: Sometimes not detected "mouseout" dragging points

OpenLayers trac-20090302 at openlayers.org
Sat Jul 2 16:35:38 EDT 2011


#3399: Control.DragFeature: Sometimes not detected "mouseout" dragging points
--------------------------+-------------------------------------------------
 Reporter:  jorix         |       Owner:                        
     Type:  bug           |      Status:  new                   
 Priority:  minor         |   Milestone:  2.11 Release          
Component:  Handler.Drag  |     Version:  2.10                  
 Keywords:                |       State:  Awaiting User Feedback
--------------------------+-------------------------------------------------

Comment(by jorix):

 Replying to [comment:3 ahocevar]:
 > jorix, what you're doing in mousemoveLeft is more or less the same
 that's done in {{{OpenLayers.Util.mouseLeft}}}, except for the parentNode
 trick to detect SVG root nodes. So I am attaching a new patch that makes a
 minimal change to {{{OpenLayers.Util.mouseLeft}}}. It would be great if
 you could see if this also fixes your issue.

 I tried [attachment:openlayers-3399.patch openlayers-3399.patch] with FF,
 Safari and Chrome, with this patch still failed the same way.

 > If not, I still think that the issue is in
 {{{OpenLayers.Util.mouseLeft}}}, and I'd like to see it fixed there.

 I think {{{"mouseout"}}} does not occur on occasion, maybe is related to
 the operation of renderers, I do not know. in {{{Util.mouseLeft}}}, if
 {{{target}}} variable is null the function returns {{{true}}}, so in any
 case would have more false positives, but no false negative.

 I've been watching a lot of logs, with different conditions, and I think
 the browsers does not shoot some {{{"mouseout"}}}.

 Yes, it is strange, but not the first time I've seen strange things
 relationship with browsers, in this case IE is the good guy, also is
 strange! For this reason I have tried every renderers.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/3399#comment:5>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list