Page MenuHomePhabricator

Issues with the display close button "X"
Closed, ResolvedPublic

Description

If one closes the display using the "X" button there is no reasonable way to reopen it.
"reset perspective" does not reopen it. Neither "change perspective".
If you press "Reinit" or "Global Reinit" on a picture loaded before, the application even crashes!!!

The only way I know to get the display back is to open an other picture.

Event Timeline

[SVN revision 22965]
FIX (#3738): Added method for reopening multi widget editor to reinit and global reinit

Using these methods in Debug mode produces an error message, should be looked into.

Strange.

MITK debug mode:

  • Open MITK
  • load image
  • close QmitkStdMultiWidgetEditor
  • rightclick on image ->reinit (opens new QmitkStdMultiWidgetEditor ) -> crash

Added a new QmitkRenderWindow:

  • Open MITK
  • load image
  • close QmitkRenderWindow
  • close QmitkStdMultiWidgetEditor -> crash

Tried the same with Step1 (Tutorial, with added button to open/close the QmitkStdMultiWidgetEditor ):

  • Open Step1 with images
  • close QmitkStdMultiWidgetEditor
  • open QmitkStdMultiWidgetEditor
  • close QmitkStdMultiWidgetEditor
  • open QmitkStdMultiWidgetEditor
  • close QmitkStdMultiWidgetEditor
  • open QmitkStdMultiWidgetEditor
  • close Step1

    -> no crash

works on linux,windows release and mac os as far as i know. only windows debug does not work

(Michi): the problem occurs when no other editor is left. e.g. when the welcome screen is opened as well and the multiwidget gets closed, everything is fine. thus, it is no problem of MITK/ITK/VTK but maybe a BlueBerry related problem related to the placement of qt widgets in the editors placeholder

[SVN revision 25188]
FIX (#3738): changed the way of deletion of viewForm QWidget in the destructor of NativeTabFolder by calling viewForm->deleteLater()

Finally, we can close this bug.. thx to Sascha!