[Paraview] pqPipelineSource::visibilityChanged() not fired when a downstream filter changes visibility

Takuya OSHIMA oshima at eng.niigata-u.ac.jp
Wed Nov 28 11:25:49 EST 2012


I filed a bug for the problem:
http://paraview.org/Bug/view.php?id=13687

Takuya OSHIMA, Ph.D.
Faculty of Engineering, Niigata University
8050 Ikarashi-Ninocho, Nishi-ku, Niigata, 950-2181, JAPAN


From: Takuya OSHIMA <oshima at eng.niigata-u.ac.jp>
Subject: [Paraview] pqPipelineSource::visibilityChanged() not fired when a downstream filter changes visibility
Date: Sun, 25 Nov 2012 12:34:04 +0900 (JST)

> Hi,
> 
> My custom reader panel (a pqAutoGeneratedObjectPanel) hooks the
> pqPipelineSource::visibilityChanged() signal of the corresponding
> reader proxy. I noticed that the signal used to be fired when a
> downstream filter that changes the visibility of the input
> (e.g. Slice) is added with PV 3.14.1 (+ earlier versions) and 3.98.0
> RC3 when I --use-old-panels, but does not with the new panels of the
> RC3 (OS X 10.6.8, Qt 4.8.3, CMake 2.8.10).
> 
> I attached a test plugin code to demonstrate the problem (a modified
> Examples/Plugins/GUIObjectPanel). Try:
> Build the plugin
> Start ParaView from a command terminal (with/without --use-old-panels)
> Load the plugin
> Sources - Cone, Apply
> Filters - Slice, Apply
> 
> The expected behavior is a "Visibility changed" output on the terminal
> when a slice is added because it turns off the visiblity of the cone
> source.  It works as expected when ParaView is started with
> --use-old-panels but not without the option.
> 
> Can anybody give me an insight?
> 
> Takuya OSHIMA, Ph.D.
> Faculty of Engineering, Niigata University
> 8050 Ikarashi-Ninocho, Nishi-ku, Niigata, 950-2181, JAPAN


More information about the ParaView mailing list