Skip to content

[Bug] If viewport grid are displaying the same orientation view in 2 or more viewports crosshairs is broken. #3486

@salimkanoun

Description

@salimkanoun

Describe the Bug

Crosshairs has an issue if the users changes the viewport orientation and displays multiple time the same volume orientation, errors are raised and ohif display is broken.

Steps to Reproduce

  1. Start a grid layout with 3 viewport on a reconstructable study (axial / coronal / saggital such has MPR HP)
  2. Activate crosshairs
  3. Change one viewport orientation ex axial to coronal, the display is updated so you have to coronal viewport => the cross hair seems to be lost, if you change the last viewport to coronal too it breaks everything

The current behavior

Error making the user needing to restart OHIF

The expected behavior

If a same orientation is display multiple time in different viewport, crosshair should be duplicated in each viewport without failing.

OS

Windows

Node version

18

Browser

Chrome updated

Metadata

Metadata

Assignees

Labels

BugsBug reported, reproducible, and verified.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions