Ticket #7581 (closed: fixed)
Mantidplot crash when change plot association
Reported by: | Anders Markvardsen | Owned by: | Arturs Bekasovs |
---|---|---|---|
Priority: | major | Milestone: | Release 3.0 |
Component: | GUI | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Anders Markvardsen |
Description
To reproduce
- Use the example in #7579 to create a table and plot the scatter plot
- In the scatter plot double click on a data point, which will open MantidPlot - Plots details
- Right click on Graph1->Layer1->Table... and select Plot Associations
- Change the x-axis plot assocation
and MantidPlot crashes
Attachments
Change History
comment:2 Changed 7 years ago by Arturs Bekasovs
Use checkable table items instead of checkboxes.
This eliminates lots of possible problems, as we work with items only and avoid lots of dangerous casts. One of the casts was causing the segfault in this ticket.
Refs #7581
Changeset: 0819cba9e1dee4438cae61068e30afb12a555f8e
comment:3 Changed 7 years ago by Arturs Bekasovs
Tester:
Check that the scenario described doesn't lead to MantidPlot crash anymore.
In addition to that, use the script attached to create a nice little table. Plot any of the Y columns first, and then, using Plot Associations menu, change it so that another Y column is used. Try other combinations of column types. That is to make sure it works properly, as I've had to do some refactoring.
Changed 7 years ago by Arturs Bekasovs
- Attachment createTestTable.py added
Script to create testing table
comment:4 Changed 7 years ago by Arturs Bekasovs
- Status changed from inprogress to verify
- Resolution set to fixed
comment:5 Changed 7 years ago by Anders Markvardsen
- Status changed from verify to verifying
- Tester set to Anders Markvardsen
comment:6 Changed 7 years ago by Anders Markvardsen
- Status changed from verifying to closed
Merge remote-tracking branch 'origin/bugfix/7581_plot_assoc_crash'
Convert indentation to spaces.
Refs #7581
Changeset: 08080061e709dfd4d056ddd8f20c305141f22d62