Ticket #887 (closed: fixed)

Opened 11 years ago

Last modified 5 years ago

Adding a 0 to the end of 1,000 does not work

Reported by: Nick Draper Owned by: Michael Whitty
Priority: minor Milestone: Iteration 28
Component: MantidPlot Keywords:
Cc: Blocked By:
Blocking: Tester: Janik Zikovsky

Description

This can be seen in the plot scale dialog, but you will also have to look to see if it occurs elsewhere.

  1. set the plot scale "To" to be 1000
  2. click apply, plot is updated value in "to" is changed to 1,000 (This is fine)
  3. add a 0 to the end of the "to" scale value so it now reads 1,0000 (people will do this!)
  4. Click apply, the plot is not altered, the to box reverts to 1,000 (BUG)
  5. change the value to 10,000 by putting the new 0 after the 1
  6. click apply plot is updated and value now reads correctly.

From this I suggest that this is a parsing error. Perhaps if we stripped all commas before parsing these values.

Change History

comment:1 Changed 11 years ago by Nick Draper

  • Priority changed from minor to major

comment:2 Changed 11 years ago by Nick Draper

  • Priority changed from major to minor

comment:3 Changed 10 years ago by Nick Draper

  • Milestone changed from Iteration 26 to Iteration 27

Bulk move of tickets to iteration 27, if your ticket is essential for Iteration 26 then move it back.

comment:4 Changed 10 years ago by Nick Draper

  • Milestone changed from Iteration 27 to Iteration 28

Bulk move of tickets at the end of iteration 27

comment:5 Changed 10 years ago by Michael Whitty

  • Status changed from new to assigned
  • Owner changed from Sofia Antony to Michael Whitty
  • Component set to Mantid

Stealing this from Sofia (who has retired).

comment:6 Changed 10 years ago by Michael Whitty

  • Component changed from Mantid to MantidPlot

comment:7 Changed 10 years ago by Michael Whitty

  • Status changed from assigned to accepted

comment:8 Changed 10 years ago by Michael Whitty

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

(In [10521]) fixes #887 - solve issue where parsing input on the axis to/from in MantidPlot would cause swearing from the scientists.

comment:9 Changed 9 years ago by Janik Zikovsky

  • Status changed from verify to verifying
  • Tester set to Janik Zikovsky

comment:10 Changed 9 years ago by Janik Zikovsky

  • Status changed from verifying to closed

Works for me.

comment:11 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 1735

Note: See TracTickets for help on using tickets.