holoviz-topics / EarthSim

Tools for working with and visualizing environmental simulations.
https://earthsim.holoviz.org
BSD 3-Clause "New" or "Revised" License
65 stars 21 forks source link

Pan tool stops working with wheel zoom #252

Open kcpevey opened 5 years ago

kcpevey commented 5 years ago

I don't have a good recipe for this, but it keeps happening so I'll just report it and if more information is necessary I can add it.

  1. load annotator
  2. activate wheel zoom and pan
  3. pan works fine
  4. zoom in/out with the wheel zoom
  5. pan no longer works
  6. deactivate all tools and reactivate
  7. pan works again

It only seems to happen upon the first draw of the annotator (i.e. when deactivate and reactivate the pan tool it stops happening). If that recipe doesn't work for you, I won't be surprised. Its never really consistent so its hard to narrow down, but my best guess is that its some interaction between the pan and wheel zoom.

kcpevey commented 5 years ago

I'm thinking this might be related to #208

philippjfr commented 5 years ago

I suspect you are right and there is some issues with tool activation in merged toolbars.