Ticket #5994 (closed: fixed)

Opened 8 years ago

Last modified 5 years ago

Crash when setting colour scale range wrong

Reported by: Nick Draper Owned by: Gesner Passos
Priority: blocker Milestone: Release 2.3
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Russell Taylor

Description

steps:

  1. plot a colour map
  2. set the colour scale so the minimum is higher than the maximum
  3. click ok
  4. Bang

Either internally swa the values over, or add validation to stop this from happening.

Change History

comment:1 follow-up: ↓ 2 Changed 8 years ago by Gesner Passos

Prevent crashing when setting wrong scale for the color map plot.

It checks inside AxesDialog.cpp if the start entry for the scale is lower than the end entry. It does abort the operation if the check fails, warning the user why through a Warning MessageBox. re #5994

Changeset: 34d3d941b65b9243731a68417fdb21dfdaebd66f

comment:2 in reply to: ↑ 1 Changed 8 years ago by Gesner Passos

  • Status changed from new to accepted

Replying to Gesner Passos:

Prevent crashing when setting wrong scale for the color map plot.

It checks inside AxesDialog.cpp if the start entry for the scale is lower than the end entry. It does abort the operation if the check fails, warning the user why through a Warning MessageBox. re #5994

Changeset: 34d3d941b65b9243731a68417fdb21dfdaebd66f

comment:3 Changed 8 years ago by Gesner Passos

  • Status changed from accepted to verify
  • Resolution set to fixed

comment:4 Changed 8 years ago by Russell Taylor

  • Status changed from verify to verifying
  • Tester set to Russell Taylor

comment:5 Changed 8 years ago by Russell Taylor

  • Status changed from verifying to closed

No crash any longer.

comment:6 Changed 8 years ago by Gesner Passos

Prevent crashing when setting wrong scale for the color map plot.

It checks inside AxesDialog.cpp if the start entry for the scale is lower than the end entry. It does abort the operation if the check fails, warning the user why through a Warning MessageBox. re #5994

Changeset: 34d3d941b65b9243731a68417fdb21dfdaebd66f

comment:7 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 6840

Note: See TracTickets for help on using tickets.