View Issue Details

IDProjectCategoryView StatusLast Update
0001526Slicer4Module SceneViewspublic2012-04-06 07:03
Reporterfedorov Assigned Tomillerjv  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product VersionSlicer 4.0.0 
Target VersionSlicer 4.1.0Fixed in VersionSlicer 4.1.0 
Summary0001526: Sceneviews do not restore slice contents correctly when slices are linked
Description

To reproduce:

1) add 3 different volumes to the scene
2) link all views in 4-up layout
3) set the same Bg volume
4) unlink, set different Fg in different slice views
5) link again, create a sceneview
6) try to restore that sceneview

The result is that all slice views have the same Bg and same Fg

TagsNo tags attached.

Relationships

child of 0001495 closedmillerjv restoring sceneview called compare view crashes slicer after producing a bad display 

Activities

nicole

nicole

2011-11-08 07:59

administrator   ~0003276

After my scene views changes (svn 18628), I can still reproduce this bug.
My feeling is that if the link is restored before the fg/bg volume settings, as each slice viewer tries to restore it's fg/bg, the linking forces an update to the others, so you end up with them all the same.
In vtkMRMLSliceCompositeNode::Copy, the Linked vars are set after the bg/fg but before a few settings, but I think the problem is that during mrml scene restore, the modify events will get triggered as each slice composite node is restored and that will trigger the linked behaviour. Something needs to check the IsRestoring flag on the mrml scene and not link, but I'll have to leave that to Jim.

kikinis

kikinis

2011-12-10 02:26

developer   ~0003432

Any progress on this bug? It makes sceneviews useless.

fedorov

fedorov

2012-01-04 14:13

developer   ~0003484

Looks like the same problem with scene restore.

I set up a 3-over-3 layout, configure each viewer to have different same Bg, different Fg (except first viewer no Fg), all slices were in the axial view mode and linked.

When I open the scene, everything is a mess, as can be seen in the attached screenshot:

1) same Bg/Fg in all viewers
2) orientation changed to Axial/Cor/Sag

Any updates on this bug?

Without this functionality working, there is no point to try to transition our prostate mpMRI review to Slicer4.

2012-01-04 14:13

 

millerjv

millerjv

2012-02-21 08:38

developer   ~0003657

This is fixed in r19319.

Added priorities to events listened to by the SliceLinkLogic so that SliceLinkLogic is the LAST to be informed of the EndBatchProcessing, EndImport, ... style of events.

Had to modify the vtkObserverManager and vtkSlicerAbstractLogic to support priorities.

Issue History

Date Modified Username Field Change
2011-11-05 12:03 fedorov New Issue
2011-11-05 12:04 fedorov Relationship added child of 0001495
2011-11-08 07:59 nicole Note Added: 0003276
2011-11-08 07:59 nicole Assigned To => millerjv
2011-11-08 07:59 nicole Status new => assigned
2011-12-10 02:26 kikinis Note Added: 0003432
2012-01-04 14:13 fedorov Note Added: 0003484
2012-01-04 14:13 fedorov File Added: Screen shot 2012-01-04 at 19.11.40 .png
2012-02-17 13:49 finetjul Target Version => Slicer 4.1.0
2012-02-21 08:38 millerjv Note Added: 0003657
2012-02-21 08:38 millerjv Status assigned => resolved
2012-02-21 08:38 millerjv Fixed in Version => Slicer 4.1.0
2012-02-21 08:38 millerjv Resolution open => fixed
2012-02-21 15:43 fedorov Status resolved => closed
2012-04-06 07:03 finetjul Category Usability => Scene Views