spacetelescope / jdaviz

JWST astronomical data analysis tools in the Jupyter platform
https://jdaviz.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
142 stars 74 forks source link

[BUG] Zoom tool selected but non-functional after resetting with Home icon #1162

Closed rosteen closed 2 years ago

rosteen commented 2 years ago

Describe the bug After clicking the "home" icon after doing some sort of zoom, the selected tool then resets back to the zoom tool. However, despite the zoom tool being highlighted, clicking and dragging on the viewer doesn't do anything. You have to deselect and reselect to zoom tool in order to do another zoom. This behavior is consistent between the image and spectrum viewers.

Expected behavior Either that you can box/xrange zoom immediately after resetting the zoom, or that the icon is not highlighted implying that you can.

Screenshots

https://user-images.githubusercontent.com/39831871/157923877-1a9b412e-4c6a-4190-8fc0-86d709ae55e1.mov

Desktop (please complete the following information):

Package versions (please complete the following information): macOS-10.15.7-x86_64-i386-64bit Python 3.9.7 (default, Sep 16 2021, 08:50:36) [Clang 10.0.0 ] Numpy 1.22.2 astropy 5.0.1 specutils 1.7.0 spectral-cube 0.6.0 pyyaml 6.0 click 8.0.3 asteval 0.9.26 idna 2.10 traitlets 5.1.1 bqplot 0.12.33 bqplot-image-gl 1.4.5 glue-core 1.2.4 glue-jupyter 0.11.1 glue-astronomy 0.3.2 echo 0.6 ipyvue 1.7.0 ipyvuetify 1.8.2 ipysplitpanes 0.2.0 ipygoldenlayout 0.4.0 voila 0.3.1 vispy 0.9.6 Jdaviz 2.3.1.dev50+g27db8f80.d20220308

rosteen commented 2 years ago

False alarm! Jupyter hadn't picked up the required bqplot-image-gl update for some reason, after kicking it again everything works.