OpenLayers OpenLayers

Ticket #792 (closed feature: fixed)

Opened 1 year ago

Last modified 1 year ago

map elements are selected in IE when using shift key

Reported by: pgiraud Assigned to:
Priority: minor Milestone: 2.5 Release
Component: general Version: 2.4
Keywords: Cc:
State:

Description

Use case :

  • Open the http://openlayers.org/dev/examples/vector-features.html example in your Internet Explorer browser,
  • click down once on the text below the map,
  • then press the shift key down, and click down on the vector polygon (or on a zoomBar element)
  • elements are selected and are hilighted in blue

What happens is that the browser tries to select every thing between the first mousedown and the second.

Curiously, there is no problem if you click down anywhere else on the map.

It seems like a document.onselectstart overwrite is missing in the Drag Handler in the mousedown method.

Patch is attached

Attachments

onselectstart_drag_handler.patch.txt (0.7 kB) - added by pgiraud on 07/03/07 08:58:32.

Change History

07/03/07 08:58:32 changed by pgiraud

  • attachment onselectstart_drag_handler.patch.txt added.

07/31/07 06:03:43 changed by pgiraud

  • keywords set to review.

please review

08/29/07 00:06:05 changed by crschmidt

  • keywords changed from review to needstests.
  • milestone set to 2.5 Release.

Looks good, but needs a regression test.

09/12/07 00:19:02 changed by crschmidt

  • keywords deleted.
  • status changed from new to closed.
  • resolution set to fixed.

(In [4230]) fix for 'map elements are selected in IE when using shift key' in drag handler from pierre. Confirmed that this can be tested simply by using anything with a drag handler in IE, so it will get caught in acceptance test. (Closes #792)