Viewers
Viewers copied to clipboard
[Bug] Incorrect crosshairs when 2nd series is loaded in MPR mode
Describe the Bug
MPR crosshairs is not resetting when 2nd series is loaded in MPR mode, leading to incorrect crosshairs across axial/sagittal/coronal views
Steps to Reproduce
-
Load a PET-CT study https://viewer-dev.ohif.org/viewer?StudyInstanceUIDs=1.3.6.1.4.1.14519.5.2.1.7009.2403.334240657131972136850343327463
-
Load CT series into viewport
-
Load MPR mode
-
Enable crosshairs
-
Move crosshairs to Right shoulder in coronal view
-
Do not disable crosshairs. Exit out of MPR mode.
-
Load PET series into viewport
-
Load MPR mode. Crosshairs is already visible, but button is not enabled.
-
Crosshairs is also not centered on the FOV of this new series; but still on Right shoulder in coronal panel, and now misaligned in axial and sagittal panel
The current behavior
Crosshairs is persisting from last MPR mode (different series) and 1) not disabled, and 2) not centered on the current series's FOV.
The expected behavior
Like in v3.7.0, if a series different from the last is opened in MPR mode, no crosshairs should be visible immediately after opening MPR mode. And crosshairs should need manual enabling to become visible. Once enabled, it should default to the center of the FOV.
OS
Windows 10
Node version
3.8.0-beta.51
Browser
Chrome 120.0.0
@dxlin , please look into this.
i think this is fixed in master, re open if still an issue
@sedghi , please re-open this issue. See #4088
This has been fixed by the crosshair changes in https://github.com/OHIF/Viewers/pull/4113