Viewers icon indicating copy to clipboard operation
Viewers copied to clipboard

Element not enabled at Object.getEnabledElement for cine control

Open vicOnGit75 opened this issue 7 years ago • 4 comments

Application enters infinite loop of errors while returning to Study list during cine playback state: Uncaught Error: element not enabled at Object.getEnabledElement (:5000/static/js/0.chunk.js:134813) at getElementToolStateManager (:5000/static/js/0.chunk.js:158218) at Object.getToolState (:5000/static/js/0.chunk.js:158267) at CornerstoneViewport.updateViewportSpecificData (:5000/static/js/0.chunk.js:8294) at invokeFunc (:5000/static/js/0.chunk.js:3080) at trailingEdge (:5000/static/js/0.chunk.js:3125) at timerExpired (:5000/static/js/0.chunk.js:3113) causing huge memory leckage/high CPU. ( problem with Object.getToolState (:5000/static/js/0.chunk.js:158267) at CornerstoneViewport.updateViewportSpecificData )

Not reproduced on viewer.ohif.org

vicOnGit75 avatar Aug 14 '19 19:08 vicOnGit75

@vicOnGit75 are you able to provide a minimal reproduction of this issue, or a way for us to verify/investigate?

dannyrb avatar Aug 14 '19 19:08 dannyrb

-Clone /download OHIF viewer from GIT -yarn install/start

  • wado/qido roots- https://server.dcmjs.org/dcm4chee-arc/aets( default) -choose RUBO XA- the last one -Cine -playback -Studylist --------->error loop/memory permanent reallocation

not hppened if erform from viwer.ohif.org

vicOnGit75 avatar Aug 15 '19 07:08 vicOnGit75

I didn't monitor commits, but the version that I downloaded today hasn't this misbehavior. IMO bug is fixed

vicOnGit75 avatar Aug 21 '19 17:08 vicOnGit75

This may have been fixed by a lifecycle change we made in react-cornerstone-viewport

dannyrb avatar Aug 21 '19 17:08 dannyrb