Bug 375 - ROIRectangletool: area is not correct
: ROIRectangletool: area is not correct
Status: NEW
: Chameleon
Widget
: 1.99
: PC Windows 2000
: P2 normal
: FUTURE
Assigned To:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2004-05-10 09:38 by
Modified: 2004-11-03 14:25 (History)


Attachments


Note

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


Description From 2004-05-10 09:38:31
There is a problem with the ROIRectangle tool in Chameleon 1.99.

In IE you cannot get any ROI rectangle (you can draw it, but mouse never stops,
and area never gets drawn).
In Mozilla you can draw an ROI, but when it is drawn as a new HTML layer the
area drawn differs largely from the area just indicated on the map.
------- Comment #1 From 2004-05-11 06:35:55 -------
I just found out this is caused by a difference between the width and height of
my MAP file and the width and height of my MapDHTMLwidget.

MAP file:
SIZE 400 600

<cwc2 type="MapDHTMLWidget" visible="true" width="800" height="560"
allowresize="false" marqueecolor="FF3333" marqueewidth="2" minscale="1"/>

So if I correct these values, no problem. (only in IE there are still problems
of ROI not working at all).
------- Comment #2 From 2004-05-20 22:13:07 -------
This may have to do with the fact that allowresize is set to false, which means
that the output map will appear to be 800x560.  In fact the MapDHTML widget
should modify the SIZE in the map file.  But there is a possibility that the ROI
widgets could grab the size from the map before the MapDHTML widget resizes it.
 I would expect that to be the cause of this bug.

Target for RC release.
------- Comment #3 From 2004-05-31 13:24:33 -------
Just to let you know, the mouse drawing problems in IE are gonna with the beta 
1 release.
The size problem still exists, but this can easily be solved by setting the MAP 
width and height similar to the MapDHTMLWidget width and height.
------- Comment #4 From 2004-11-03 14:25:59 -------
future bug.