pcp
[Top] [All Lists]

Re: [pcp] [Bug 893] Graph limits do not change after removing instances

To: bugzilla-daemon@xxxxxxxxxxx
Subject: Re: [pcp] [Bug 893] Graph limits do not change after removing instances
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Wed, 29 Sep 2010 11:31:50 +1000
Cc: pcp@xxxxxxxxxxx
In-reply-to: <201009271239.o8RCdP30187067@xxxxxxxxxxx>
References: <bug-893-835@xxxxxxxxxxxxxxxx/bugzilla/> <201009271239.o8RCdP30187067@xxxxxxxxxxx>
Reply-to: kenj@xxxxxxxxxxxxxxxx
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.


<Prev in Thread] Current Thread [Next in Thread>