Bug 460 - [ROI Tools] Polygon selection continue on the html page
: [ROI Tools] Polygon selection continue on the html page
Status: RESOLVED FIXED
: Chameleon
Widget
: 1.99
: PC Linux
: P2 normal
: 1.99 beta 4
Assigned To:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2004-06-21 16:49 by
Modified: 2004-12-02 21:29 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


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).