[OpenLayers-Trac] Re: [OpenLayers] #2936: Handler.Drag: Does not move until the cursor, and does not finish properly.

OpenLayers trac-20090302 at openlayers.org
Sun Jan 23 16:58:02 EST 2011


#2936: Handler.Drag: Does not move until the cursor, and does not finish properly.
--------------------------+-------------------------------------------------
 Reporter:  jorix         |       Owner:  erilem      
     Type:  bug           |      Status:  new         
 Priority:  blocker       |   Milestone:  2.11 Release
Component:  Handler.Drag  |     Version:  2.10        
 Keywords:                |       State:  Review      
--------------------------+-------------------------------------------------

Comment(by erilem):

 [attachment:patch-2936-A1.diff] comes with tests, and addresses the case
 where a new mousedown occurs before the timer triggers.

 @jorix,

  * I don't see any problem with not setting {{{lastMoveEvt}}} to
 {{{null}}} after drag. Could you please provide a test case if you see
 one?
  * With this patch leaving an active timer shouldn't cause any issue,
 because of the {{{if(this.dragging)}}} guard. Again, please provide a test
 case if you see an issue.

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


More information about the Trac mailing list