Bug 404 - [Chameleon]"ZoomAllLayers" widget is not zooming out at all
: [Chameleon]"ZoomAllLayers" widget is not zooming out at all
Status: CLOSED FIXED
: Chameleon
Widget
: 1.99
: PC All
: P2 normal
: ---
Assigned To:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2004-05-21 16:41 by
Modified: 2004-05-26 08:53 (History)


Attachments


Note

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


Description From 2004-05-21 16:41:39
"ZoomAllLayers" widget is not zooming to full layer extents at all on Windows
and Linux.  And after clicking on "Zoom to Full Extents" once the widget
selected image is always displayed eventhough we click other buttons.

Fedora Core 1
Chameleon tarball 2004-05-21
Mozilla 1.6

Windows 2000
IE 6
------- Comment #1 From 2004-05-23 18:11:50 -------
fixed in cvs.  This bug has been in the code for a while, essentially the
ZoomAllLayers widget was not calling the NavTools ParseURL before doing other
processing (which was incorrect).  It emerged now because I restructured the
NavTools code to support use of radio buttons in the plainbuttons sample.  I
guess that I didn't check the zoom to all layers function after that change,
assuming that if the other nav tools worked, so would this one.

Recommend that the smoke test be expanded to cover using each of the tools in
the basic sample, perhaps using the following sequence (which I just executed):

- load sample_basic.phtml, scalebar should show 0 - 3150 km
- zoom in at center, scalebar should show - 1600 km
- zoom out from center, should return close to original extents
- change zoom factor to 4
- zoom in at center, scalebar should show 0-800 km
- change zoom factor to 2
- zoom out at center
- zoom out at center, should return close to original extents
- zoom in at center by factor of 4
- pan south west, east, north east, south, west, north east, north, south east,
should be back at original view
- use keymap to recenter on east cost (approx middle vertically)
- zoom out factor of 2, scalebar 0 - 1600 km
- use recenter tool to recenter on St. John's, approx extents left: 143282
right: 4463789 bottom: -280131 top: 1996184 (differences less than 100000 okay)
- use query tool to identify the city, should get one result, POPPLACE_ field
value = 464, close results
- use query tool not on city, should get message that the following layers
didn't return any results: popplace.  Close results
- use zoom in by rectangle by selecting zoom in tool and dragging a box just
around Charlottetown, Fredericton and Halifax (start at Halifax, drag up to left
until just touching Charlottetown at top and Fredricton at left), scalebar
should be about 0 - 150 km if cities are right at edge of map.
- use zoom to full extents, should return to full view of Canada, scalebar 0 -
3150 km
- click tools tab
- click error report widget, should say No error(s), close it
- click on center of map to zoom in by factor of 2, tools tab should stay selected
- click ROI tab
- click on center of map, should still zoom in and ROI tab should stay selected
- click on legend tab and nav tab.  click on update map button (both), should
have no change
------- Comment #2 From 2004-05-23 18:14:33 -------
*** Bug 403 has been marked as a duplicate of this bug. ***
------- Comment #3 From 2004-05-26 08:12:01 -------
Verified on Linux.
------- Comment #4 From 2004-05-26 08:53:30 -------
Verified on Windows. Closed.