One of the planes is disappearing after opening enlargement of any of the planes twice in 2D MPR

Duplicate of oak-tree/medical-imaging/ohif-viewers#111. Same defect, reported a month earlier. Fixed by the Cornerstone3D MPR rebuild in oak-tree/medical-imaging/ohif-viewers!58 and verified 2026-08-05. Holding open only for close-out sign-off.

Why this is a duplicate

Same reporter, same repro, same two browsers as #111. Enlarge an MPR plane, close it, enlarge again, close again — the left plane drops out. This report (2025-09-16) caught it blank; #111 (2025-10-13) caught it white. Blank versus white is one failure landing on a different clear colour, not two bugs. #111 carries the fuller reproduction and is the record that was verified, so it is the canonical one.

Both belong to the viewer-blackout family tracked under #69 (closed).

What fixed it

oak-tree/medical-imaging/ohif-viewers!58 rebuilt the volumetric stack on Cornerstone3D. Three changes in it remove this failure mode outright:

  • MPR and the enlarged (inspection) view no longer share a render context. The open/close cycle in the steps below was exercising exactly that cross-viewport interference.
  • Resize and render now fire from displaySet-API UI events on panel open/close, restoring the ordering that the React 18 upgrade had knocked loose.
  • The inspection view was rebuilt as Cornerstone3DInspectionView. The legacy resize path implicated in the blank/white plane state is gone rather than patched.

!58 listed this class of failure as a candidate fix pending QA. The reproduction was re-run against the Cornerstone3D MPR build on 2026-08-05 and no longer reproduces; #111 was closed on that basis.

Original report

Steps to reproduce:

  1. Open a study in the Viewer, make sure the imaging volume is shown in the main part of the Viewer
  2. Open 2D MPR
  3. Click on the magnification glass of any of 3 planes once
  4. Close the enlarged view
  5. Click on the magnification glass of any of 3 planes second time
  6. Close it

Expected result:

All 3 planes are displayed.

Actual result:

Left plane is turning blank.

Browsers:

Edge, Version 140.0.3485.54 64-bit

Chrome, Version 140.0.7339.128 64-bit

image.png

Re-tested on GKE 0.4.0-rc2 (2025-10-20): still reproduced in Chrome, did not reproduce in Safari.

  • Duplicate of: oak-tree/medical-imaging/ohif-viewers#111 — canonical MPR blank/white-plane record, closed 2026-08-05
  • Fixed by: oak-tree/medical-imaging/ohif-viewers!58 — Cornerstone3D MPR and inspection-view rebuild, merged 2026-07-14
  • Umbrella: #69 (closed) — viewer stability and unexplained blackout screens
  • Failure conditions and earlier partial fix: oak-tree/medical-imaging/imaging-development-env#61
Edited by Sonador Claude