MantisBT - ParaView
View Issue Details
0004406ParaView(No Category)public2007-02-05 15:452007-03-20 11:51
Ken Moreland 
Mark Richardson 
highmajoralways
closedfixed 
 
 
0004406: Delete object with consumers
When you select an object in the pipeline with consumers (downstream components) the Delete button is still active. If you click it, you get the following message in the output window:

Active source has consumers, cannot delete

The error make sense (to us developers) but the delete option should never have been made available in the first place. When an object in the pipeline is selected that has consumers (or is otherwise disqualified from being deleted) the Delete button should be disabled (grayed out).
No tags attached.
Issue History
2011-06-16 13:10Zack GalbreathCategory => (No Category)

Notes
(0006813)
Mark Richardson   
2007-03-15 17:48   
I believe this one is fixed. At least for my test case. If you still have this problem, reopen the bug and give me an example.
(0006835)
Ken Moreland   
2007-03-19 13:10   
I still get the same behavior.

1. Create a Sphere source.
2. Add a filter to the Sphere source (e.g. clip).
3. Click on the Sphere source in the pipeline browser.
4. Look at the object inspector. The Delete button is active (it should be grayed out). When you click on it, you get the message "Cannot remove source with consumers."
(0006837)
Mark Richardson   
2007-03-19 13:30   
Sorry, I thought you were talking about the delete item on the context menu. I'll get the button fixed right away.
(0006841)
Mark Richardson   
2007-03-19 14:36   
The delete button on the object panel is only enabled when the object has no consumers.
(0006844)
Clinton Stimpson   
2007-03-19 17:01   
Make a source and connect a filter to it.
hit the delete button on the filter panel, and it takes you back to the source's panel with the delete button still disabled. It should be enabled.
(0006847)
Mark Richardson   
2007-03-19 18:20   
The delete button enabled state now listens for pipeline connection changes as well as selection changes.