pywwt icon indicating copy to clipboard operation
pywwt copied to clipboard

Jupyter lab interface freezes after launching WWT app

Open mwcraig opened this issue 2 years ago • 1 comments

When I start the WWT app in jupyter lab everything in the interface freezes when I navigate away from the tab with the WWT app. At some point the interface indicates I've tried to drag another tab. Once I complete moving that tab the interface works again.

The GIF below hopefully is clear.

Platform: macOS 11.6.5, Intel core i7

conda/mamba versions:

$ mamba --version                                                                                                (pywwt-2)
mamba 0.24.0
conda 4.13.0

Steps to reproduce:

  1. Make a fresh environment: mamba create -c conda-forge -n pywwt-2 pywwt jupyterlab=3
  2. Activate the environment: conda activate pywwt-2
  3. Install nodejs because I forgot that: mamba install nodejs
  4. Install the jupyter lab extension: jupyter labextension install --no-build @wwtelescope/jupyterlab
  5. Build jupyter lab: jupyter lab build
  6. Check that lab extensions are all installed, enabled, etc (they are): jupyter labextension list
  7. Launch jupyter lab (remaining steps are also in video)
  8. Have a notebook already open (not 100% sure this matters)
  9. Shift-cmd-C for command palette then launch the WWT app
  10. Zoom/pan a bit to make sure app works
  11. Click back to notebook tab
  12. No typing, no clicking 😞
  13. Several seconds alter, jupyter lab interface indicates it thinks I'm dragging something (see video)
  14. Drop the tab I'm apparently moving
  15. Things work again 😁

Video:

wwt-bug-small

mwcraig avatar Jul 17 '22 16:07 mwcraig