On Mon, 2010-09-27 at 07:39 -0500, bugzilla-daemon@xxxxxxxxxxx wrote:
> http://oss.sgi.com/bugzilla/show_bug.cgi?id=893
> --- Comment #3 from Max Matveev <makc@xxxxxxxxxxx> 2010-09-27 07:39:23 CST
> ---
> ...
> Both problems most likely come from the fact that each plot has two
> flags: hidden and removed which are mostly the same but I'm not sure
> why there are two of them: I don't see any reason why removed
> cannot be treated the same as hidden.
>
> Ken, you wrote that code - can you remember why did you needed two flags?
I don't remember specifically, but by inspection there are two types of
"remove" that need to be accommodated ... first is the obvious and
persistent Edit->Chart and the "Remove plot from chart button" (in the
Metrics tab), and the second is the transient push-button action in the
chart legend.
There is also the comment in Chart::delPlot concerning not being able to
really free memory behind a "removed" plot.
Beyond that, I can't shed any further light I'm afraid.
|