Viewers icon indicating copy to clipboard operation
Viewers copied to clipboard

Thumbnails dragging for viewing doesn't work in time of image playback

Open vicOnGit75 opened this issue 7 years ago • 6 comments

Thumbnails dragging for viewing doesn't work in time of image playback

Steps to reproduce: -https://viewer-dev.ohif.org/

  • go to study with multiple thumbnails ( fro example venus-1.3.6.1.4.1.25403.345050719074.3824.20170126082902.1) -open cine dialog -start playback
  • Try to drag another thumbnail to view port Expected behavior- change of image to playback Actual behavior: no change, also left-bottom corner overlay escapes

Speed change after not successful attempt does the work.

DragCine

vicOnGit75 avatar Dec 04 '19 12:12 vicOnGit75

Hmm... @igoroctaviano, could this be the DraggableArea preventing drag events on the viewports?

dannyrb avatar Dec 04 '19 13:12 dannyrb

Hmm... @igoroctaviano, could this be the DraggableArea preventing drag events on the viewports?

@dannyrb I tried the mentioned flow but I could not replicate. I could drag normally. Can you check as well?

igoroctaviano avatar Dec 04 '19 13:12 igoroctaviano

Study: https://viewer-dev.ohif.org/viewer/1.3.6.1.4.1.25403.345050719074.3824.20170126083429.2

I'm using FireFox. Intermittently, the series will not change. Sometimes it switches seamlessly. The overlay always disappears. Stopping/starting the CINE player resolves the issue.

This is likely a react-cornerstone-viewport issue, not Dialog Service.

dannyrb avatar Dec 04 '19 15:12 dannyrb

I'm working with Chrome 78, Windows 10. Misbehavior is pretty consistent, not 100% though. Happened on viewer-dev and also on local server locally build. Didn't experience such behavior on version from beginning of October. Also scroll on thumbnail panel is not consistent.

vicOnGit75 avatar Dec 04 '19 16:12 vicOnGit75

If I had to guess, when react-cornerstone-viewport receives updates imageIds props, we should be checking to see if CINE isPlaying. We may need to "stop" and then "start" after the stack toolstate is updated.

dannyrb avatar Dec 04 '19 16:12 dannyrb

Please review the latest code in the master branch. This issue might have been resolved. If it persists, kindly reopen the issue with updated details.

Try viewer-dev.ohif.org instead of viewer.ohif.org Our viewer.ohif.org is deployed from release branch while viewer-dev.ohif.org is our master branch Read more about branch explanations here https://docs.ohif.org/development/getting-started#developing

sedghi avatar Oct 13 '23 18:10 sedghi