Page MenuHomePhabricator

QmitkStdMultiWidget cannot be initialized
Closed, ResolvedPublic

Description

Starting the ExtApp with revision 17776 and later leads to a program crash when the QmitkStdMultiWidget tries to open an OpenGL context (somewhere inside QWidget code). This only happens under Linux.

Revision 17725 of QmitkStdMultiWidget.cpp works.

Linux users can do a "svn update -r17725 QmitkStdMultiWidget.cpp" for a temporary workaround.

Event Timeline

setParent by the initialization of the render windows. This works for the initial layout. but when you change the layout, it will still crash. We are working on a stable solution.

changing layout works now in windows and linux, by using a container widget encapsulating the renderWindow widget.
widget menu graphical artifacts fixed.

though the QmitkRenderWindow recognizes size changes, the underlying vtkRenderer doesn't, so there is still a preliminary workaround by resizing the renderwindow widget "manually" by calling resize(). This workaround has to be fixed using the standard QT layout system.