Page MenuHomePhabricator

Measurement Bundle doesn't activate correctly after perspective change
Closed, ResolvedPublic

Description

The interaction of the measurement bundle is not activated after perspective change.

Testcase:

  1. open the measurement perspective and do something
  2. change the perspective to segmentation
  3. change back the perspective to measurement

From now on, the interaction is disabled.

  1. click on the measurement panel.

Everything works as usual.

Event Timeline

Have you been able to reproduce this bug with the current installer?

Michi, could you please have a look at this?

QmitkFunctionalityCoordinator activates a Bundle only if ONE Standalone Functionality is visible. But in case of the measurement perspective two bundles are visible at the same time (measurement AND statistics bundle). Here, the activate method of the measurement bundle in not called automatically and the interactor is never set. To solve this problem we made some small changes in QmitkFunctionalityCoordinator::PartHidden (see Patch). Modification should be discussed with Michael.

Fix for activating measurement Bundle

New modifications for solving this issue

[SVN revision 27236]
FIX (#5562): insert bundle into the m_VisibleStandaloneFunctionalities container only if it is a exclusiveFunctionality.