Opened 14 years ago

Closed 13 years ago

#400 closed defect (fixed)

Legend with layer containing a lot of styles locks up browser

Reported by: zspitzer Owned by: madair
Priority: P2 Milestone: Future
Component: Widgets Version: 2.0.0-RC1
Severity: Major Keywords:
Cc: Browser: All
External ID: Operating System: All
state: New

Description

When a layer has an crazy excessive amount of styles (in my case 891), fusion will lock up the browser at 100% CPU whilst adding nodes to the legend tree.

http://osgeo-org.1803224.n2.nabble.com/Recursion-issue-with-the-legend-updates-td5291497.html

A solution would be to either batch up the updates as the style updating is excessive, or to make all the themes a single element as they don't need to be individual nodes as they are purely asthetic

Change History (1)

comment:1 by jng, 13 years ago

Resolution: fixed
Status: newclosed

Fixed with the legend performance improvements related to #460

Note: See TracTickets for help on using tickets.