Bug 80

Summary: [MapLab3]Change the legend size (widht/height) makes map unstable
Product: MapLab Reporter: Normand Savard <nsavard@mapgears.com>
Component: PreviewAssignee: maplab-dev <maplab-dev@lists.maptools.org>
Status: ASSIGNED    
Severity: enhancement CC: maplab-dev@lists.maptools.org
Priority: P2    
Version: 3.0   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description From 2003-10-23 16:21:07
Change the legend size (widht/height) makes map unstable

I opened the "tutorial.map" and I selected the legend object into the object
browser view.  I change the size of the legend by modifying the width and the
height into the object properties view.  I applied the changes and the map could
not be displayed with the following error: 

The map could not be displayed because it is in an invalid state."

The only way to come back to a valid state it is to do a "Reload" of the page.

RedHat 7.2, Firebird 0.7
------- Comment #1 From 2003-10-23 16:30:05 -------
Chameleon cvs 10/16/2003, MapLab 10/14/2003
------- Comment #2 From 2003-10-23 17:14:47 -------
I'm changing this to an enhancement request because the described behaviour is
by design: some 
combinations of parameters don't make sense, meaning a preview map can't be
drawn. While I am 
planning to update the object editor so that some obvious invalid combinations
can't be set, some 
operations inherently pass through an invalid state.

In this case, you are modifying the width and height which I believe are only
supported when a 
legend is embedded.