Ticket #314 (closed: fixed)
The ecosim biomass graph redraws in response to a resize event even if it is not visible.
Reported by: | joeb | Owned by: | administrator |
---|---|---|---|
Priority: | normal | Milestone: | Ecopath 6: build 6.0.7 |
Component: | Overall GUI | Version: | |
Severity: | feature | Keywords: | |
Cc: |
Description
This is a problem because the graph can take a long time to redraw which causes the interface to stall even if the graph is not visible. This can be solve be setting a flag is the Activeated and Deactivated events of the graph then only drawing when the from is Active.
Note: See
TracTickets for help on using
tickets.
After build 6.0.3.13:
The output graph now works with a snapshot. This snapshot is created on redraw if it does not exist, otherwise the snapshot drawn. The snapshot is destroyed when the control resizes.