When a new render window (widget) is added to the MxNMultiWidget, e.g. by extending the layout, the newly created render windows do not initialize the render window correctly. This results in a render window showing images from the data storage, but zoomed in.
To reproduce:
- open MITK, load an image
- close the Standard Display, open the MxNDisplay
- see how even the first render window does not display the whole image
- use the layout icon in the configuration toolbar on the right side to add more render windows
- see how the newly added render windows do not display the whole image
- change the view direction of a render window
- see how the render window is initialized correctly
- perform a reinit / global reinit using the context menu of the node in the data storage
- see how all render windows are initialized correctly.
Interestingly:
- the zoom-level differs, depending on the size of the multi widget
- you can test this by opening another plugin or letting the MxN Display cover the whole workbench area
- this also happens with the Standard Display, but only if the Standard Display is opened and an image was already loaded
- this can be tested by
- open MITK, load an image
- close the Standard Display
- open the Standard Display again
- see how only the first render window is initialized correctly
- this again might depend on the size of the widget
- this can be tested by