Ticket #7903 (assigned)

Opened 7 years ago

Last modified 5 years ago

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:

  1. Load e.g. ARGUS0031800 from AutoTestData
  1. Plot e.g. spectrum 1-3 of workspace ARGUS0031800_1
  1. Add a new layer Graph->'Add layer'
  1. Plot spectrum 1 in layer 2 and spectrum 2-3 in layer 1
  1. Have layer 2 highlighted
  1. 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

  1. Highlight layer 1.
  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:

  1. Load e.g. ARGUS0031800 from AutoTestData
  1. Plot e.g. spectrum 1-3 of workspace ARGUS0031800_1
  1. Add two new layers
  1. In layer 2 plot spectrum 2-3
  1. click on the Fit Function toolbox button
  1. click on the Selection tools button (6 buttons to the left of the Fit Function toolbox button)
  1. Plot spectrum 3 in layer 3
  1. 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

Change History

comment:1 Changed 7 years ago by Nick Draper

  • Status changed from new to assigned

Bulk move to assigned at the introduction of the triage step

comment:2 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 8748

Note: See TracTickets for help on using tickets.