QQuickVTKRenderItem's visibility property in QML not working as expected
Hi, I noticed that the visibility property of a VTKRenderItem in QML is not working as expected. In my application unchecking the checkboxes sets the visiblity of the respective renderitem to false.
Here is the initial layout
Disabling the visibility of the top row: the bottom renderitem fills the window but the top row does not disappear.
Expected result (using Rectangles instead of VTKRenderItems): red and green rectangles disappear
Also just unchecking the red renderitem causes a similar effect. The renderitems are layed out in a ColumnLayout with a RowLayout inside containing the red and green renderitems.
Attached it the example shown in the images qquickvtk_visibility.zip
In QML there is a commented out section which replaces the renderitems with rectangles which seem to work just as expected.