Page MenuHomePhabricator

PACS mode is active while segmentation is drawn
Open, NormalPublic

Description

To reproduce:

  1. load an image with a segmentation (or create a new one) into the workbench
  2. open the properties page of the Standard Multi Widget (Windows -> Preferences -> Editors/Standard Multi Widget
  3. enable Use PACS like mouse mode interaction
  4. change the left-mouse button action to something else than Pointer, e.g. Zoom
  5. open the segmentation plugin and select the segmentation
  6. segment inside the render window and see how the render window changes while drawing the segmentation

This does not happen if the Pointer (crosshair) is selected.

Event Timeline

kalali triaged this task as Normal priority.Jul 10 2019, 4:12 PM
kalali created this task.
kalali added a parent task: Restricted Maniphest Task.Jul 11 2019, 10:25 AM
kalali added a comment.EditedAug 12 2019, 11:22 AM

There seems to be a problem with the mitkDisplayActionEventBroadcast-class in general. Some classes have legacy code that disables the default display interactor to load a scenario-specific state machine and config file (see e.g. https://phabricator.mitk.org/source/mitk/browse/master/Modules/Segmentation/Interactions/mitkTool.cpp$121).
This is done in other classes. The problem is that the function does not reset the display action event broadcast instance but only display interactor instances.

see also:
BoundingShapeInteractor::DisableCrosshairNavigation()
QmitkMeasurementView::DisableCrosshairNavigation()

Also when changing the interaction mode (PACS <-> MITK) while the segmentation tool (e.g. Add) is active, the changed interaction mode will overwrite the segmentation interaction and the render window changes again while drawing the segmentation.

kalali claimed this task.Aug 12 2019, 1:15 PM
kalali removed a project: Restricted Project.

For test purposes this has been solved for the segmentation module / plugin in 450d57dd of T24215.

kalali moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Aug 12 2019, 1:52 PM