In Action viewer's search panel, the Family combo box does not filter actions
About you
CamiTK developer
Overview
In the action viewer, the "Family" combo box does nothing.
Steps to Reproduce
- from a newly built CamiTK, run camitk-imp
- open testdata/sinus-displaced.mha
- In the menu click on View/Toggle Docked Viewers/Action Viewer to show the Action viewer panel
- Select the component
- Click on the Action combobox in the actions panel and see the list of available actions
- Select a Family e.g. Frame
- Click on the Action combobox, all actions are still there
Actual VS Expected Result
All actions are visible, nor only the actions from the selected family.
Interpretation & Possible fixes
This bug was introduced by commit 1bdd9a84 with a change to ImpMainWindow.cpp around line 111.
The line
actionViewer->setSearchPanelVisible(true);
was removed.
We could either restore this line (and the necessary dynamic_cast to ActionViewer) or call it from the ActionViewer constructor. I am not certain why setSearchPanelVisible should disconnect the link from the combobox'signals to the relevant methods.
CamiTK Version
CamiTK 5.2.0.157-reference-frames-and-transformations-management.a9f78af5
please do not remove anything below this line
Edited by Manik Bhattacharjee