[Chameleon-dev] [Bug 652] New: ExpressionBuilder should not change
active layer
bugzilla-daemon at www.maptools.org
bugzilla-daemon at www.maptools.org
Fri Aug 27 09:09:17 EDT 2004
http://www.maptools.org/bugzilla/show_bug.cgi?id=652
Summary: ExpressionBuilder should not change active layer
Product: Chameleon
Version: 1.99
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Widget
AssignedTo: chameleon-dev at lists.maptools.org
ReportedBy: bartvde at xs4all.nl
The expressionbuilder currently makes the ExpressionBuilderAnnotation layer the
active (i.e. selected) layer. AFAIK this seems unnecessary.
It causes that an application loses its active or selected layer after an
expression has been executed. When using the CSS style of layer manager as
introduced in Studio (rowNormal and rowSelected) this can be irritating.
I want to change the following:
--
$oAnnoLayer->set( 'name', 'ExpressionBuilderAnnotation');
$oAnnoLayer->setmetadata( 'selected', '1' );
// select the new layer and save the origin layre ID.
$oLayer->setmetadata( 'selected', '0' );
--
into:
--
$oAnnoLayer->set( 'name', 'ExpressionBuilderAnnotation');
$oAnnoLayer->setmetadata( 'selected', '0' );
// select the new layer and save the origin layre ID.
//$oLayer->setmetadata( 'selected', '0' );
--
Which keeps the previous active layer. I tested this and don't see any problems
with it. Any objections?
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Chameleon-dev
mailing list