Opened 14 years ago

Closed 14 years ago

#151 closed defect (fixed)

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: Browser: All
External ID: 1152258, 1154086 Operating System: All
state: Analysis Requested

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 (12)

comment:1 by pagameba, 14 years ago

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

comment:2 by pagameba, 14 years ago

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

comment:3 by pagameba, 14 years ago

Resolution: fixed
state: AnalysingCommitted
Status: assignedclosed

fixed in jxlib.

comment:4 by chrisclaydon, 14 years ago

Resolution: fixed
state: CommittedAnalysis Requested
Status: closedreopened

Right-clicking should bring up a context menu.

comment:5 by chrisclaydon, 14 years ago

External ID: 11522581152258, 1154086

comment:6 by pagameba, 14 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:7 by pagameba, 14 years ago

Resolution: fixed
Status: reopenedclosed

this really is fixed now.

comment:8 by chrisclaydon, 14 years ago

Resolution: fixed
Status: closedreopened

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

comment:9 by chrisclaydon, 14 years ago

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

comment:10 by pagameba, 14 years ago

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

comment:11 by chrisclaydon, 14 years ago

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

comment:12 by chrisclaydon, 14 years ago

Resolution: fixed
Status: reopenedclosed

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.