-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Description
Describe the Bug
If user right click and select Delete Measurement from context menu while drawing annotation with either the Spline or the Livewire tool, they will no longer be able to complete the annotation and use any other tools including the active annotation.
User have to refresh the viewer to regain the interactivity. Even dropping a new series to viewport or switching to a new layout will not fix this behavior.
Steps to Reproduce
- Start drawing a Spline or Livewire tool
- Right click and select Delete Measurement before completing the measurement
- Try to draw again or switch to any other annotation tool or zoom/pan/windowing etc. tool.
The current behavior
The user interactivity is lost. Users cannot do anything in viewport with the tools.
The expected behavior
After deleting, the user should be able to start drawing a new annotation with selected tool. Or they should be able to switch to any other available tool to continue working with the viewer.
System Information
OHIF Version:
Data: https://viewer-dev.ohif.org/viewer?StudyInstanceUIDs=1.3.6.1.4.1.25403.345050719074.3824.20170125113417.1
OHIF Viewer: 3.12.0 beta.112
Commit Hash: cd253f2
Current Browser & OS: Chrome 143.0.0, Linux x86_64
System:
OS: Linux 6.11 Ubuntu 24.10 24.10 (Oracular Oriole)
CPU: (12) x64 13th Gen Intel(R) Core(TM) i5-1335U
Memory: 8.66 GB / 15.31 GB
Container: Yes
Shell: 5.2.32 - /bin/bash
Binaries:
Node: 24.6.0 - /home/username/.nvm/versions/node/v24.6.0/bin/node
Yarn: 1.22.22 - /home/username/.nvm/versions/node/v24.6.0/bin/yarn
npm: 11.5.1 - /home/username/.nvm/versions/node/v24.6.0/bin/npm
bun: 1.3.2 - /home/username/.nvm/versions/node/v24.6.0/bin/bun
Browsers:
Chrome: 143.0.7499.109
Firefox: 146.0.1
Firefox Developer Edition: 146.0.1