Summary: | [ROI Tools] Polygon selection continue on the html page | ||
---|---|---|---|
Product: | Chameleon | Reporter: | Julien-Samuel Lacroix <jlacroix@mapgears.com> |
Component: | Widget | Assignee: | 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: |
Changed target to 1.99 RC 1.
Reassign to me to work on this.
Working on this now.
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.
Changing Version to 1.99 (2.0 not being worked on yet).