Page MenuHomePhabricator

MITK Diffusion crashes on opening ViewNavigator after closing all perspectives
Closed, ResolvedPublic

Description

How to reproduce:

Open MITK Diffusion
Close Current Perspective (or) Close All Perspectives
Click on View Navigator Button >> CRASH

First Analysis:
It is a segfault in the function
QmitkExtWorkbenchWindowAdvisorHack::onViewNavigator()

and the call

[1057] berry::IViewPart::Pointer viewnavigatorView = berry::PlatformUI::GetWorkbench()->GetActiveWorkbenchWindow()->GetActivePage()->FindView("org.mitk.views.viewnavigatorview");

Event Timeline

User hering has pushed new remote branch:

bug-19203-NavigatorViewsCrashOnOpen

Affects also the MitkWorkbench, adapting component and settings TM 2015.05.02.

Current fix stand: the crash is fixed, however I could not find a way how to interact with the button state. So, if the view is not opened, the button stays in the 'pushed' state until it is clicked again.

[c06d24]: Merge branch 'bug-19203-NavigatorViewsCrashOnOpen'

Merged commits:

2015-08-12 15:19:27 Jan Hering [48c4e3]
Handle closed app / perspectives on opening view/image navigators

has been merged into the release branch