Opened 14 years ago

Closed 13 years ago

#1435 closed defect (fixed)

IE8: Map context menu doesn't work after Quick Plot is invoked

Reported by: wuma Owned by: Mars Wu
Priority: high Milestone:
Component: General Version: 2.1.0
Severity: major Keywords:
Cc: External ID: 1343742

Description

If I click the "Get Printable Page" to invoke the Quick Plot function, the map's context menu will stop working.

Attachments (1)

quickplot_fix_context_menu.patch (874 bytes ) - added by wuma 14 years ago.
The reason is: Quick Plot overloadded the map's on mouse move event to handle the capture box moving. The new onmousemove event handler will check if the mouse is in the area for moving / rotating the capture box, then it invokes the original event handler. In IE, the new mouse move handler must return a value indicating the execution result, otherwise, the original handler will not be invoked.

Download all attachments as: .zip

Change History (3)

by wuma, 14 years ago

The reason is: Quick Plot overloadded the map's on mouse move event to handle the capture box moving. The new onmousemove event handler will check if the mouse is in the area for moving / rotating the capture box, then it invokes the original event handler. In IE, the new mouse move handler must return a value indicating the execution result, otherwise, the original handler will not be invoked.

comment:1 by wuma, 14 years ago

Summary: Map context menu doesn't work after Quick Plot is invokedIE8: Map context menu doesn't work after Quick Plot is invoked

comment:2 by wuma, 13 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.