View Issue Details

IDProjectCategoryView StatusLast Update
0003880Slicer4Core: GUIpublic2018-03-02 11:02
Reporterlassoan Assigned Tojcfr  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product VersionSlicer 4.3.1-2 
Target VersionFixed in VersionSlicer 4.7.0 
Summary0003880: Crosshair position is not updated when slice is changed
Description

Crosshair position is updated correctly when the mouse is moved in a slice view but when the mouse does not move and only the slice is changed (e.g., by using arrows) then inconsistent crosshair position is shown in the different slice viewers.

How to reproduce:

  • Load MRHead sample
  • Switch to 4-up layout
  • Enable crosshair
  • Move the mouse over the Red slice view while keeping shift pressed (so that all the other slice view show the same position and the crosshair) => crosshair is visible on all slice viewers, at the same position
  • Click on the slice viewer (to give it keyboard focus)
  • Use the arrow keys on the keyboard to move to a different slice, far away from the original slice => ERROR: the crosshair position remains the same on all slice viewers, while it should move up/down on the yellow and green viewers
  • Move the mouse pointer a little bit => the crosshair jumps to correct position on the yellow and green viewers
TagsNo tags attached.

Activities

jcfr

jcfr

2016-11-12 04:12

administrator   ~0014251

Fixed by http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=25521

ENH: Improved crosshair usability, added display in 3D view

Crosshair had several problems/limitations:

  1. Crosshair position was often inconsistent in different slice views (for example: when in navigation view, crosshair was always displayed in all slice views because otherwise the user could not drag the crosshair to a new position; but this way when the user changed slices then the crosshair showed different RAS positions in each slice view)
  2. Navigation mode was very inconvenient: to jump all slices to a specific RAS position the user had to position the mouse to the previous crosshair and drag it to the new position (it was too easy to miss the small navigation area in the middle and when it was missed, brightness/contrast of the image was accidentally modified)
  3. By default (if the user just toggled the crosshair button on the toolbar), crosshair was only visible in the current slice view, which was useless (the crosshair just followed the mouse in the current view)
  4. Crosshair position was not visible in 3D view

Solution implemented:

  1. Only show crosshair in the correct position in all views. If crosshair position is not in the current slice then hide the crosshair from current slice.
  2. Crosshair is now moved by holding down shift + moving mouse. No need to grab the previous crosshair position. Navigation mode is replaced by "jump slices" option (enabled by default), which controls if slice views should jump to current crosshair position. If disabled then shift + moving mouse only moves the crosshair.
  3. By default slices jump to current crosshair position, so crosshair is visible in all views. User just has to keep Shift key depressed (added hint to tooltip)
  4. Implemented display of crosshair in 3D view.

Issue History

Date Modified Username Field Change
2014-10-31 11:01 lassoan New Issue
2016-11-12 04:12 jcfr Note Added: 0014251
2016-11-12 04:12 jcfr Status new => resolved
2016-11-12 04:12 jcfr Fixed in Version => Slicer 4.7.0
2016-11-12 04:12 jcfr Resolution open => fixed
2016-11-12 04:12 jcfr Assigned To => jcfr
2018-03-02 11:02 jcfr Status resolved => closed