Bug 24 - [Chameleon1.1]Drag PanMap Widget not clipping Mozilla 1.4
: [Chameleon1.1]Drag PanMap Widget not clipping Mozilla 1.4
Status: CLOSED FIXED
: Chameleon
Widget
: 1.99
: PC Windows 2000
: P2 normal
: 1.99 beta 2
Assigned To:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2003-07-29 09:57 by
Modified: 2004-06-28 14:50 (History)


Attachments


Note

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


Description From 2003-07-29 09:57:47
Currently the 'PANMAP' Widget is not working for the new Hawaii Demo. It is
unclear weather it is a problem with the Demo itself or with Chameleon. 
Q: does this widget require JavaScript API, to make the dragging effect?

Here is the widget definition:

<CWC2 TYPE="PanMap" Visible="true" Enable="true"
Image="images/cwc_buttons/tool_pan_1.png"
IMAGEHOVER="images/cwc_buttons/tool_pan_2.png"
IMAGESELECTED="images/cwc_buttons/tool_pan_3.png" ImageTip="Drag Pan Map"
ImageWidth="22" ImageHeight="22" ToolSet="Navigation"/>
------- Comment #1 From 2003-07-29 18:49:27 -------
PanMap seems to work fine with my mapedit preview app.
------- Comment #2 From 2003-09-11 11:48:32 -------
Drag pan works in hawaii, except when using mozilla v1.4 the map image is not
clipped by the edge of map when dragging map image to pan.

 
------- Comment #3 From 2004-04-05 17:49:27 -------
still an issue in the latest mozilla/firefox.  I'd like to see this one fixed if
possible (nice to have)
------- Comment #4 From 2004-04-08 08:35:39 -------
updated version to 1.99
------- Comment #5 From 2004-04-21 14:01:34 -------
fixed in cvs.  The problem appears to have been that the value of layer's clip
string changed to include commas at some point.  This resulted in the existing
code returning NaN for the current clip values when parsing it, so the new
clipping values were incorrectly calculated and subsequently ignored.

The fix should be backwards compatible because it just removes the commas from
the clip string (if they exist) then continue to parse as was previously done.
------- Comment #6 From 2004-06-23 14:19:45 -------
verified beta 2 2004-06-20, using firefox 0.9, this issue has been resolved for
a while.
------- Comment #7 From 2004-06-24 11:05:31 -------
change target to beta 2 for Linux verification and closer of bug 
------- Comment #8 From 2004-06-28 14:50:13 -------
Fixed on  Fedora Core 1 20040625.