Ticket #151 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Right-clicking on a layer in the legend causes an error

Reported by: chrisclaydon Owned by: pagameba
Priority: P1 Milestone: 2.0
Component: Widgets Version: SVN
Severity: Major Keywords:
Cc: External ID: 1152258, 1154086
state: Analysis Requested Browser: All
Operating System: All

Description

Create a layout using the Slate template.

Right-click on any layer in the legend.

An error occurs: Object doesn't support this property or method

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

(In [1635]) Re #151. Update to new jxlib to correct a problem in the contextmenu event handler of tree items

Changed 3 years ago by pagameba

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

fixed in jxlib.

Changed 3 years ago by chrisclaydon

  • status changed from closed to reopened
  • state changed from Committed to Analysis Requested
  • resolution fixed deleted

Right-clicking should bring up a context menu.

Changed 3 years ago by chrisclaydon

  • external_id changed from 1152258 to 1152258, 1154086

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 reopened to closed
  • resolution set to fixed

this really is fixed now.

Changed 3 years ago by chrisclaydon

  • status changed from closed to reopened
  • resolution fixed deleted

This is pretty buggy still - right-clicking shouldn't expand/collapse the underlying group.

Worse - if I right-click to bring up the menu, and then right-click again (not on the menu, but still on the legend) I get an error: Stack Overflow at line: 0

Changed 3 years ago by chrisclaydon

Additional info: The stack overflow seems to occur only in IE, not Firefox.

Changed 3 years ago by pagameba

(In [1654]) Re #151. Update jxlib with a change to tree items that removes the click event from right-clicks on items. This was causing folders to toggle their state when right-clicked.

Changed 3 years ago by chrisclaydon

Tested with a new build - the folders no longer toggle, but the IE stack overflow still occurs.

Changed 3 years ago by chrisclaydon

  • status changed from reopened to closed
  • resolution set to fixed

I'm going to close this ticket and create a new one for the stack overflow issue.

Note: See TracTickets for help on using tickets.