Page MenuHomePhabricator

All QmlMitkRenderWindowItems have the same name
Closed, WontfixPublic

Description

The constructor of QmlMitkRenderWindowItem uses the standard name "QML Render Window" for all instances. Since this name is also used for the renderer you cannot use renderer specific properties anymore.

Here is the constructor:

QmlMitkRenderWindowItem(QQuickItem* parent = 0,
                        const QString& name = "QML render window",
                        mitk::VtkPropRenderer* renderer = NULL,
                        mitk::RenderingManager* renderingManager = NULL)

: QVTKQuickItem(parent)
{

mitk::RenderWindowBase::Initialize(renderingManager, name);

GetInstances()[QVTKQuickItem::GetRenderWindow()] = this;

}

Event Timeline

Added a branch and pull request of my current workaround:

m4271n:bug-19195-AllQmlMitkRenderWindowsHaveTheSameName

kislinsk claimed this task.
kislinsk added a subscriber: kislinsk.
This task was automatically closed because it wasn't updated at least since July 2016 (over 2 years). Please re-open this task if you think that it is still relevant. This most probably means that you will resolve it.