Image statistics view does not work
Open, NormalPublic


No image can be selected

neher created this task.Dec 18 2017, 3:24 PM

Can you explain how to reproduce this? We tried it on a fresh Superbuild of the latest master today and it worked as expected.
@kalali @kahl

neher added a comment.Wed, Jan 3, 1:30 PM

I just tested it with a random 3D image. The view simply doesn't do anything. Maybe linux specific?

neher added a comment.Wed, Jan 3, 2:30 PM

This is related to T23885. The methods Visible(), Hidden(), Activated() and Deactivated() are never entered, which causes m_Visible to always be false and successively a never entered SelectionChanged method.

hettich added a subscriber: hettich.Wed, Jan 3, 3:13 PM
hentsch added a project: Restricted Project.Fri, Jan 5, 8:47 AM
kalali added a comment.Fri, Jan 5, 5:38 PM

I tried it now with the current master using Ubuntu 16.04.
I am able to load a test DICOM image, calculate and visualize the image statistics and step into the four mentioned methods.

However, currently, when using MITK on windows, I get the error mentioned in T24011

I'm not sure if this is in any way related to this problem but I thought it might be worth mentioning.

neher added a comment.Mon, Jan 8, 2:45 PM

Apparently it depends on the activated plugins if the problem occurs. I tested a new superbuild with enabled measurement plugin (no additional plugins) and everything worked fine. As soon as org_mitk_gui_qt_diffusionimaging_tractography was enabled, the problem occurred again, even if no view included in tthe tractography plugin was activated.

neher added a comment.Tue, Jan 9, 11:49 AM

The issue is caused by "set(Plugin-ActivationPolicy "eager")", independent of the plugin in which the line occurs. It works fine for the planar figure plugin, maybe because this plugin does not use Qt/contains no views?

kislinsk triaged this task as Normal priority.Thu, Jan 18, 12:50 PM