Ticket #157 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

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: External ID: 1154041
state: Committed Browser: All
Operating System: All

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

Changed 3 years ago by pagameba

  • owner changed from madair to pagameba
  • status changed from new to assigned
  • state changed from Analysis Requested to Analysing

Changed 3 years ago by pagameba

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.

Changed 3 years ago by pagameba

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

Changed 3 years ago by pagameba

(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.

Changed 3 years ago by pagameba

  • status changed from assigned to closed
  • state changed from Analysing to Committed
  • resolution set to fixed

All fixed up now.

Note: See TracTickets for help on using tickets.