Page MenuHomePhabricator

Toolmanager multi instance support is not correctly integrated...
Closed, ResolvedPublic

Description

Check all calls of GetToolManager(*) and if everything is correct.

Allready identified issues:

  • SegmentationInteractor always uses the default toolmanager (and not e.g. the MultiLabel)
  • QmitkSurfaceStampWidget uses ML ToolManager in the constructor but in OnStamp() the default one.

Revisions and Commits

rMITK MITK
Restricted Differential Revision
Restricted Differential Revision
Restricted Differential Revision

Event Timeline

floca triaged this task as Unbreak Now! priority.Sep 2 2020, 5:17 PM
floca created this task.
floca moved this task from Backlog to Segmentation on the MITK (v2021.02) board.
  • SegmentationInteractor is only used in ML Segmentation. I added the ML context.
  • I also added the ML context to the second call of GetToolManager() QmitkSurfaceStampWidget, it was simply forgotten

Still, after I added a segmentation, the classic Segmentation view immediately enables the tools widget, while I need to close and re-open the ML Segmentation view to see this effect. Investigating...

Happens only the first time. When I delete all segmentations and then create another new segmentation, the tool widgets in both views are enabled. Might explain why I didn't notice it when doing D312, as I was sure that I tested this before.

kislinsk added a revision: Restricted Differential Revision.Sep 2 2020, 9:18 PM

Oh... @thomass just told me that there is also T27698: [Segmentation] Segmentation toolbox is never enabled in multi-label segmentation view where it is already resolved... nvm.

Sorry. Hopped that adding you as subscriber would be enough to inform you... Thanks for taking care of the rest!