Ticket #7117 (closed: fixed)
Crashes when working with qtiplot objects
Reported by: | Roman Tolchenov | Owned by: | Roman Tolchenov |
---|---|---|---|
Priority: | critical | Milestone: | Release 2.6 |
Component: | MantidPlot | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Alex Buts |
Description
- The three projects attached all cause a crash for me when loading them.
- Create a function plot from file>new>new function plot double click on the graph, right click on the function (F1) and edit it click ok in the edit function window and then ok again in the plot details window and mantid will crash.
Attachments
Change History
Changed 7 years ago by Roman Tolchenov
- Attachment wavelength polarisation transmission plots.mantid added
comment:2 Changed 7 years ago by Roman Tolchenov
This stops crash when loading projects but doesn't fix the issue.
Re #7117
Changeset: e136f2ce948c55e9483bf2488fc1e34c450df5a6
comment:3 Changed 7 years ago by Roman Tolchenov
Renamed UserFunction class in MantidPlot. Re #7117
Changeset: 511ff9fd0bdc89d12474c2ffae18c313544f4a6b
comment:4 Changed 7 years ago by Roman Tolchenov
Changes to qtiplot UserFunction to make it work better with Mantid.
Re #7117
Changeset: 05fedbf8dab2fdd493e4a461f143368943e062f2
comment:5 Changed 7 years ago by Roman Tolchenov
Trying to guard some pointers. Re #7117.
MantidPlot crashes when a MantidMatrix and a 3D graph are shown and you delete the underlying workspace in the dock widget. I am trying to find its cause.
Changeset: dfadf91989c0f00917344f0d163fc7fe555abdc0
comment:6 Changed 7 years ago by Roman Tolchenov
Dettached MantidMatrixFunction from MantidMatrix.
Removed some deletes. Re #7117
Changeset: d6c0b7ac76fb4ebf65c8e0b9ce792d3f959181e0
comment:7 Changed 7 years ago by Roman Tolchenov
- Status changed from accepted to verify
- Resolution set to fixed
To tester:
Please also test that projects containing 3D graphs can be saved, loaded and replaced with other projects.
comment:8 Changed 7 years ago by Nick Draper
- Status changed from verify to verifying
- Tester set to Nick Draper
comment:9 Changed 7 years ago by Nick Draper
- Status changed from verifying to reopened
- Resolution fixed deleted
Managed to find an issue:
- Create a qtiplot matrix
- fill it with values - I used Matrix->SetValue with sin(i/10)+sin(j/10) from 1-300 for both axes
- Plot the matrix as a 3D graph
- I also had a workspace and workspace based 3D graph (not sure if this is required)
- Save the project
- restart Mantid
- Load the project
- The qtiplot matrix 3D graph had lost it's colour and was all black. The Mantid based 3D graph was OK.
comment:11 Changed 7 years ago by Roman Tolchenov
Corrected 3d plot style setting when openning project.
Re #7117.
Changeset: 8e7ffc0a7ac88f6e79600d822714cc70745af5cd
comment:12 Changed 7 years ago by Roman Tolchenov
- Status changed from accepted to verify
- Resolution set to fixed
To tester:
The matrix must be large and the 3d plot must be "3D Polygons".
The problem was that the plot open from the project file becomes a "3D Wired Surface". The density of the wire lines is so high that they hide the coloured surface.
comment:13 Changed 7 years ago by Alex Buts
- Status changed from verify to verifying
- Tester changed from Nick Draper to Alex Buts
comment:14 Changed 7 years ago by Alex Buts
- Status changed from verifying to closed
No crashes observed, though the crash which is similar to the one fixed here is described by ticket #7133
Save/load projects does not save/restore custom functions i.e. if you plot custom function, saved the project and then restored it the plot windows remains but function disappears. Its not a crash, so may be a issue for other ticket.
comment:15 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 7963