Ticket #7903 (assigned)
Crash - Fitting data in plot with layers
Reported by: | Anders Markvardsen | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | Backlog |
Component: | GUI | Keywords: | |
Cc: | christy.kinane@… | Blocked By: | |
Blocking: | Tester: |
Description
In addition to crash also when multilayers regardless of what is plotted and what layers is highlighted the spectrum which is selected by the Fit Function tools is always the first spectrum in the first layers.
Example demonstrating that first spectrum in layer one always plotted:
- Load e.g. ARGUS0031800 from AutoTestData
- Plot e.g. spectrum 1-3 of workspace ARGUS0031800_1
- Add a new layer Graph->'Add layer'
- Plot spectrum 1 in layer 2 and spectrum 2-3 in layer 1
- Have layer 2 highlighted
- Click on the Fit Function toolbox button. This:
a) specifies a fitting range in both layers, not only the layer which is highlighted
b) In Fit Function properties settings it set the workspace index to fit to be 1, which is spectrum 2, i.e. not the spectrum plotted in layer 2
- Highlight layer 1.
- click on the Fit Function toolbox button. This has no effect on the workspace index that is selected in the Fit Function properties settings
Example demonstrating crash:
- Load e.g. ARGUS0031800 from AutoTestData
- Plot e.g. spectrum 1-3 of workspace ARGUS0031800_1
- Add two new layers
- In layer 2 plot spectrum 2-3
- click on the Fit Function toolbox button
- click on the Selection tools button (6 buttons to the left of the Fit Function toolbox button)
- Plot spectrum 3 in layer 3
- click on the Fit Function toolbox button
and MantidPlot crashed
The work in this ticket may be split up into a number of tickets, i.e. a ticket dealing with the crash and a ticket to make the Fit Function toolbox button more sensitive to which layer is highlighted in a multilayer plot
Bulk move to assigned at the introduction of the triage step