Page MenuHomePhabricator

Decouple Workbench plugin from optional views
Open, NormalPublic

Description

Currently, when building MITK in the untouched "Custom" preset, the Workbench crashes or at least prints a lot of warnings since it tries to control views that are not built. These soft-dependencies include views like "Image Navigator", "View Navigator", and so on...

  • Option A: Make them hard dependencies in CMake so that the views are automatically switched on when the Workbench is built (a little artificial since we do not need to link anything from these views).
  • Option B: Make the dependencies optional in the Workbench plugin and check if views are present before trying to position or open them.