mantidproject / mantid

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

Instrument View not rendering correctly #37370

Open sf1919 opened 1 month ago

sf1919 commented 1 month ago

Original reporter: Mo Aouane

Describe the bug When using Instrument view, zooming in on some detectors can cause a glitch in the display. The glitch only seems to occur when OpenGL is turned off (which is required on IDAaaS at the moment to avoid #36220 )

To Reproduce

  1. Open Mantid and Load MAR11015.raw from the Training Data set
  2. Open File->Settings and check that Use OpenGL in Instrument View is unticked
  3. Right click on the loaded workspace and choose Show Instrument from the menu
  4. Change the drop down at the top of the Render Tab to Cylindrical X
  5. Open the Pick tab and select the Zoom tool (magnifying glass)
  6. Choose a part of the instrument to zoom in on and draw a box around it. This shoukd zoom in but the result looks glitchy (see screenshot below for an example)

Expected behavior The Instrument View should zoom into detectors correctly without overlaying other views or looking glitchy

Screenshots It should not look like this

Zoomed_InstrumentView

It should look like

Screenshot (375)

Platform/Version (please complete the following information):

Also an issue on IDAaaS

Additional context

sf1919 commented 1 week ago

I've tested this on v6.10.0 on Windows 10 and it is still an issue.

jhaigh0 commented 1 week ago

I can't recreate this on my machine (v6.10 on Windows 10) weirdly.

sf1919 commented 1 week ago

I've been contacted to say it's still a problem in v6.10 on IDAaaS