Ticket #792 (closed feature: fixed)

Opened 6 years ago

Last modified 6 years ago

map elements are selected in IE when using shift key

Reported by: pgiraud Owned by:
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 Download (0.7 KB) - added by pgiraud 6 years ago.

Change History

Changed 6 years ago by pgiraud

Changed 6 years ago by pgiraud

  • keywords review added

please review

Changed 6 years ago by crschmidt

  • keywords needstests added; review removed
  • milestone set to 2.5 Release

Looks good, but needs a regression test.

Changed 6 years ago by crschmidt

  • keywords needstests removed
  • 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)

Note: See TracTickets for help on using tickets.