Opened 15 years ago

Closed 15 years ago

#157 closed defect (fixed)

Themed layer cannot be switched on/off. Legend gets multiple redundant layers.

Reported by: chrisclaydon Owned by: pagameba
Priority: P1 Milestone: 2.0
Component: Widgets Version: SVN
Severity: Major Keywords:
Cc: Browser: All
External ID: 1154041 Operating System: All
state: Committed

Description

1) Create a Fusion MG layout based on the Sheboygan sample map

2) Zoom in until the Parcels layer becomes visible

3) Try to uncheck the checkbox in the legend to hide the layer

Result: The layer is still displayed, AND an additional redundant Parcels layer is present in the legend.

4) Zoom out so the themed layer is no longer visible, and then zoom back in again.

Result: Each time this is repeated, a new redundant Parcels layer entry is added to the legend.

Change History (5)

comment:1 by pagameba, 15 years ago

Owner: changed from madair to pagameba
state: Analysis RequestedAnalysing
Status: newassigned

comment:2 by pagameba, 15 years ago

The basic problem is that Jx changed a property name (parent to owner) because MooTools uses parent for something else in its inheritance model. Changing this in the Fusion code fixes the issue reported, but I've noted a couple of other legend related problems:

  • right click on an item causes an error
  • the right-click menu on folders (at least expand/collapse) doesn't work correctly.

comment:3 by pagameba, 15 years ago

ah, right click on item error was fixed in a jxlib update that was not committed, adding that now to svn.

comment:4 by pagameba, 15 years ago

(In [1645]) Re #151, Re #157. Fix up a bunch of legend behaviour including the context menu handler and toggling the state of themed layers. This needed a change in Jx TreeFolder to fix the problem with themed layers.

comment:5 by pagameba, 15 years ago

Resolution: fixed
state: AnalysingCommitted
Status: assignedclosed

All fixed up now.

Note: See TracTickets for help on using tickets.