mantidproject / mantid

Main repository for Mantid code
https://www.mantidproject.org
GNU General Public License v3.0
207 stars 122 forks source link

3D Surface plot zooming in and out with mouse hover #37585

Open GuiMacielPereira opened 1 week ago

GuiMacielPereira commented 1 week ago

Describe the bug 3D surface plots incorrectly trigger zoom when the log axis scale of the colorbar is selected.

To Reproduce

  1. Load LOQ74041
  2. Click Plot > 3D > Surface
  3. Right-click on the plot > Color bar
  4. That shoud be enough to trigger the bug
  5. If you hover the mouse over the plot you'll notice it zooms in and out
  6. You can stop it if you click on the plot
  7. The scroll wheel doesn't seem to work.

Expected behavior Fix the zooming with hovering and maybe get the scroll wheel working for the zoom.

Screenshots Zoomed out plot: image

Platform/Version (please complete the following information):

Additional context

jclarkeSTFC commented 1 week ago

I can't get it to do this on IDAaaS, I'll have a go on my Ubuntu VM