View Issue Details

IDProjectCategoryView StatusLast Update
0004614Slicer4Module Markupspublic2018-09-19 15:24
Reportersamuel Assigned Tonicole  
PrioritynormalSeverityminorReproducibilityalways
Status assignedResolutionopen 
PlatformmacOSOSHigh SierraOS Version10.13.6
Product Version 
Target VersionFixed in Version 
Summary0004614: "Jump to slice" in centered mode may result in markers that are not selectable and not movable in the slice views.
Description

For Slicer 4.9.x (nightly builds), the "Jump to slice" in centered mode may result in markers that are not selectable and not movable in the slice views.

I tracked it down to a call to 'SetSliceOrigin', however I can't see what is wrong there. Perhaps nothing. I rather assume that the clickable coordinates are not updated accordingly when the slice and with it the visual representation of the fiducial marker is centered. Sometimes, I was able to drag the marker and it got highlighted when I clicked at a random point in the slice. That observation is why I assume that the internal position is not in sync with the visual representation.

When you drag the slice with the middle mouse button some 30 pixels away, you can precisely select the marker in the slice view again. Then executing the following two lines will center the slice and make the marker not selectable again.
r = slicer.mrmlScene.GetNodeByID('vtkMRMLSliceNodeRed')
r.SetSliceOrigin(0,0,0)

Steps To Reproduce
  • Add at least two fiducial markers to the red slice view
  • In Markups module: Enable "Click to jump slices" and check "Centered"
  • click on the second marker in the table view, so the jump to center is executed
  • Try to move the fiducial in the green or yellow a slice view . It is not possible (on my system).

Workaround:

  • If you drag the slice view (middle mouse button) more than a about 50 pixel or so, you can select and move the fiducial again.
TagsNo tags attached.

Activities

samuel

samuel

2018-09-19 15:24

reporter   ~0016034

Screencast for reproduction of the bug

Issue History

Date Modified Username Field Change
2018-09-19 15:23 samuel New Issue
2018-09-19 15:23 samuel Status new => assigned
2018-09-19 15:23 samuel Assigned To => nicole
2018-09-19 15:24 samuel Note Added: 0016034