Page MenuHomePhabricator

Auto top most image for Level Window Slider fails for identical images.
Closed, WontfixPublic

Description

If e.g. the same image is loaded three times to the data manager, more than one data node (in this case 1st and 3rd) gets its imageForLevelWindow property set true from the auto top most functionality. However, the imageForLevelWindow property is to be true only for one data node at a time.

Event Timeline

Reason for the bug is within mitk::LevelWindowManager::SetLevelWindowProperty, where node selection according to the handed-over levelWindowProperty is made using NodePredicateProperty. If all loaded images are identical, the node predicate property simply delivers the first node with regard to the otherwise identical level window properties of the identical nodes.

The issue is resolved using an explicit pointer-based comparison of the level window property.

User norajitr has pushed new remote branch:

bug-19436-AutoTopMostFailForIdenticalImages
kislinsk added a subscriber: kislinsk.
This task was automatically closed because it wasn't updated at least since July 2016 (over 2 years). Please re-open this task if you think that it is still relevant. This most probably means that you will resolve it.