Bug 460

Summary: [ROI Tools] Polygon selection continue on the html page
Product: Chameleon Reporter: Julien-Samuel Lacroix <jlacroix@mapgears.com>
Component: WidgetAssignee: Julien-Samuel Lacroix <jlacroix@mapgears.com>
Status: RESOLVED FIXED    
Severity: normal CC: chameleon-dev@lists.maptools.org, dmcilhagga@dmsolutions.ca
Priority: P2    
Version: 1.99   
Target Milestone: 1.99 beta 4   
Hardware: PC   
OS: Linux   
Whiteboard:

Description From 2004-06-21 16:49:27
If you draw a polygon with the ROI Tool, then press enter once done. You won't
be able to select text in the page. It will start a new polygon in the html page.
------- Comment #1 From 2004-07-08 12:58:38 -------
Changed target to 1.99 RC 1.
------- Comment #2 From 2004-07-13 10:44:40 -------
Reassign to me to work on this.
------- Comment #3 From 2004-07-13 10:45:04 -------
Working on this now.
------- Comment #4 From 2004-07-13 15:04:32 -------
The problem was that the ROIPolygonToolGetMousePosition() function does not
validate that the cursor is still in the image. Since the MouseMove function was
using this function to validate if it's ok to process the MouseMove. 

To fix the problem I copied the GetMousePosition function from the
ROIRectangularTool widget with a little modification (To not substract the
offset from page left and top.)

Marking as FIXED.

Note that this problem also happened with the ROICircleTool widget and for the
same reason.
------- Comment #5 From 2004-08-10 15:37:36 -------
Changing Version to 1.99 (2.0 not being worked on yet).