Opened 14 years ago

Closed 14 years ago

#355 closed defect (fixed)

Redline listen to the right click

Reported by: hubu Owned by: hubu
Priority: P2 Milestone: Future
Component: Widgets Version: 1.1.1
Severity: Major Keywords:
Cc: madair Browser: All
External ID: 1267031 Operating System: All
state: New

Description

  1. Open a Flexible weblayout in the browser from MapGuide.
  2. Activate the "Redline" widget
  3. Select "Point" as the Draw option
  4. Right click on the map.

result: The contextual menu is activated and the user still can digitize on the map.

Expected: The Redline widget should listen to the right-click.

Comments: The "Select Polygon" and "Measure" have the same problem

Attachments (1)

Fix Ticket #355.patch (840 bytes ) - added by hubu 14 years ago.

Download all attachments as: .zip

Change History (4)

by hubu, 14 years ago

Attachment: Fix Ticket #355.patch added

comment:1 by chrisclaydon, 14 years ago

I would like someone at DM Solutions to review this code, since I'm not sure what the implications would be if these changes are made right in the OpenLayers code (as in the current patch).

comment:2 by chrisclaydon, 14 years ago

Cc: madair added

I have asked Buddy to work with Mike Adair to determine a suitable short-term solution to this problem, until such time as OpenLayers enhances their right-click handling.

comment:3 by madair, 14 years ago

Resolution: fixed
Status: newclosed

The MapWidget already has a method call 'suppressContextMenu(true|false)'. This needs to be called when any widgets that draw on the map is activated and re-enabled when the widget is de-activated.

Fixed at rev 2037

Note: See TracTickets for help on using tickets.