Viewers icon indicating copy to clipboard operation
Viewers copied to clipboard

Segmentation Panel Will not add a new segmentation if Layout is changed [Bug]

Open BrandonDatUHN opened this issue 10 months ago • 5 comments

Describe the Bug

3.8.0-beta.85

When using Segmentation Mode, if the user changes their layout before creating a new Segmentation the Add Segmentation button will not work.
image

When using the default layout it works fine. image

Steps to Reproduce

  1. Go to a study in Segmentation mode - https://viewer-dev.ohif.org/segmentation?StudyInstanceUIDs=1.2.840.113619.2.290.3.3767434740.226.1600859119.501
  2. Change the layout to 2x2
  3. Click +Add Segmentation
  4. Nothing will happen

The current behavior

If the user changes from the default Layout while in segmentation mode before clicking +Add Segmentation button will no longer add new Segmentations.

The expected behavior

Add Segment should work regardless of if Layout is changed before or after +Add Segmentation is clicked.

OS

Windows 11

Node version

Using OHIF Demo

Browser

123.0.6312.59 (Official Build) (64-bit)

BrandonDatUHN avatar Apr 17 '24 17:04 BrandonDatUHN