<html><head></head><body><div>Hello all,</div><div><br></div><div>I managed to write a Paraview filter (in C++) that has the strange property to always "grab" the focus back if another filter is attached and "applied" to the pipeline - which is actually not really my intention!</div><div><br></div><div>More clearly what happens: I have some data object, then I add my new filter, let's call it "NEWFILTER", and apply. After this, everything works ok:</div><div><br></div><div>- the display in the render view switches from the previous object/filter in the pipeline to NEWFILTER,</div><div>- and the same does the focus. Meaning: the currently selected item in the pipeline is also NEWFILTER, so I could e.g. change some settings (and re-Apply), or choose which attribute to display in the view. So far so good.</div><div><br></div><div>Now I want to attach another filter, e.g. a Clip filter. But when I press Apply there, the result is strange:</div><div><br></div><div>- the display is for the Clip filter - as expected,</div><div>- but the focus is back on NEWFILTER</div><div><br></div><div>Of course I can manually click on the Clip filter to change this, but this is not normal Paraview behaviour! Even more: If I attach another and still another filter to the pipeline, the behaviour is always the same: on Apply the focus jumps back to NEWFILTER - which is why I am calling NEWFILTER a "greedy filter" in the title.</div><div><br></div><div>One more thing I can say about that filter: I actually derived it from an existing one, which is the Calculator filter. I wanted to change a few things for my own purposes: work for cell attributes only, and with the option to work only on cells that are selected. For the selection of cells I also wrote my own Property panel, so the cause of the strange behaviour could also be inside that one.</div><div><br></div><div>All this works nicely and does what I expect, but I would like to get rid also of this useless "greedyness"!</div><div><br></div><div>If somebody has a hint what could cause such a behaviour I may try the change. Otherwise I can also send the source code to whoever wants to have a look inside.</div><div><br></div><div>Thanks for any helpful hint!</div><div><br></div><div>Regards,</div><div>Cornelis</div></body></html>