Page MenuHomePhabricator

Color should change when segmentation is deselected and image is selected
Closed, WontfixPublic

Description

If a segmentation is selected in the DataManager, it is generally shown in red in the RenderWindow. Deselecting it should result in a change of color.

At the moment the color doesn't change.

Event Timeline

Confirmed on Win 7 x64.

Color only changes when first deselecting the node, then clicking the picture. Same goes for the backward workflow.

e.g. Segmentation color is set to green:

  1. Start Segmentation (color is red)
  2. click picture node in Data manager (color stays red, should be green)
  3. click into render windoe (color changes to green)
  4. click on segmentation (color stays green, should be red)
  5. click on Render window (color changes t ored)

confirmed again on Win and Linux
should we set a target milestone?

bug again occurs again when doing the "UserStory" checklist... please fix it or add a statement that the behaviour is right. If the latter is the case also adapt the UserStory checklist.

mitk::ImageVtkMapper2D::ApplyColor line 486

mitk::ColorProperty::Pointer colorprop = dynamic_cast<mitk::ColorProperty*>(GetDataNode()->GetProperty("binaryimage.selectedcolor", renderer));

but the "binaryimage.selectedcolor" is red no matter what color was chosen for the datanode itself. So when selecting any binary image the color of this image changes to red.

Current release is finished. Reseting target milestone...

kislinsk claimed this task.
kislinsk added a project: Auto-closed.
kislinsk added a subscriber: kislinsk.

Hi there! 🙂

This task was auto-closed according to our Task Lifecycle Management.
Please follow this link for more information and don't forget that you are encouraged to reasonable re-open tasks to revive them. 🚑

Best wishes,
The MITK devs

kislinsk removed kislinsk as the assignee of this task.May 26 2020, 12:05 PM
kislinsk removed a subscriber: kislinsk.