Page MenuHomePhabricator

Resetting Standard Multi Widget preferences leads to other colors than the default ones
Closed, ResolvedPublic

Description

For example, 2-d background colors are dark grey instead of black, decoration colors are slightly different like in the 3-d window it is more orange.

Event Timeline

kislinsk created this task.
kislinsk edited projects, added MITK (v2022.04); removed MITK.
kislinsk added a subscriber: s434n.

Also, as reported by @s434n , the decoration colors in the Image Navigator only update after there was a render window update / click in one of the render windows.

Deleted branch from rMITK MITK: bugfix/T28777-DefaultDecorationColors.

It is not worth currently to spend much time on this so I fixed it as fast as possible by syncing the default colors instead of creating a single source of truth. This code location was barely touched in the past decade and I don't see why this would receive suddenly much more attention than that.

Regarding the delayed update of the Image Navigator I decided to leave it as is as it is as minor as it can be but would require major code changes. My first idea was to react on OnPreferencedChanged() in the view but this is only triggered for preferences associated with the view, not the preferences of the standard multi widget.

Regarding the delayed update of the Image Navigator I decided to leave it as is as it is as minor as it can be but would require major code changes. My first idea was to react on OnPreferencedChanged() in the view but this is only triggered for preferences associated with the view, not the preferences of the standard multi widget.

Is there an open issue for this?