WIP: Fix widget visibility when multiple views
This ensure the following behavior :
- When the filter has aready been applied (most cases) :
- if the output of the filter is hidden in the current view then the widget will also be
- When thefilter has not been applied once yet :
- if the parent of the filter is hidden in the current view then the widgget will also be
- This keeps the former behavior correct, that is :
- if the filter is not seleted the widget is not visible
- the check box for the visibility obviously still show/hide the widget
Resolves: #20709
Edited by Timothee Chabat