MantisBT - ParaView
View Issue Details
0010462ParaViewBugpublic2010-03-26 00:282016-08-12 09:58
Takuya OSHIMA 
Kitware Robot 
normalminoralways
closedmoved 
Development 
 
0010462: populating/repopulating array selection should not turn the Apply button to green
The Apply button of the reader panel that has a corresponding info property of a vtkDataArraySelection lights up green when the vtkDataArraySelection is populated/repopulated despite that the modified state of the vtkDataArraySelection remains unchanged, exactly as the comment in vtkDataArraySelection::AddArray() states:
  // This function is called only by the filter owning the selection.
  // It should not call Modified() because array settings are not
  // changed.
I attach a patch that worked by somewhat emulating the modification state of vtkDataArraySelection in client side. What is unsure to me is if the patch may cause unintended side effects.
No tags attached.
diff pqSignalAdaptorSelectionTreeWidget.cxx.diff (3,091) 2010-03-26 00:28
https://www.vtk.org/Bug/file/7991/pqSignalAdaptorSelectionTreeWidget.cxx.diff
gz cavity.tar.gz (29,466) 2010-03-26 00:36
https://www.vtk.org/Bug/file/7992/cavity.tar.gz
Issue History
2010-03-26 00:28Takuya OSHIMANew Issue
2010-03-26 00:28Takuya OSHIMAFile Added: pqSignalAdaptorSelectionTreeWidget.cxx.diff
2010-03-26 00:36Takuya OSHIMAFile Added: cavity.tar.gz
2010-03-26 00:36Takuya OSHIMANote Added: 0020012
2016-08-12 09:58Kitware RobotNote Added: 0037799
2016-08-12 09:58Kitware RobotStatusexpired => closed
2016-08-12 09:58Kitware RobotResolutionopen => moved
2016-08-12 09:58Kitware RobotAssigned To => Kitware Robot

Notes
(0020012)
Takuya OSHIMA   
2010-03-26 00:36   
Also attached is a test case (cavity.tar.gz). Unpack cavity.tar.gz, open cavity/cavity.foam, step to time 0.2. The one will see Apply lights up green whereas it will not with the attached patch.
Disclaimer: The test case is a modified tutorial case that comes with OpenFOAM, which is covered by the GPL.
(0037799)
Kitware Robot   
2016-08-12 09:58   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current ParaView Issues page linked in the banner at the top of this page.