Ticket 3404 Test Page This bug is only triggered by physical right mouse clicks so it is not possible to write an automated js unit test When a SelectFeature control and a Navigation control are added to a map the left-click mousedown events are stopped by a Drag handler before reaching the Feature handler. However, right-click mousedown events so pass through and reach the Feature handler. The Feature handler records the xy of each mousedown and mouseup events so they can be compared in the click event. Because only right-click mousedown event are received the location of future left-click mouseup events are compared to the location of the 'stale' right-click mousedown event resulting in the feature not being selected. Steps to recreate the bug:
Expected: The point is selected. |