Ticket #6322 (closed: fixed)

Opened 8 years ago

Last modified 5 years ago

Pressing Ctrl+X in script interpreter kills mantid

Reported by: Roman Tolchenov Owned by: Martyn Gigg
Priority: major Milestone: Release 2.4
Component: MantidPlot Keywords:
Cc: Blocked By:
Blocking: Tester: Karl Palmen

Description


Change History

comment:1 Changed 8 years ago by Nick Draper

  • Owner set to Martyn Gigg
  • Status changed from new to assigned

comment:2 Changed 8 years ago by Martyn Gigg

  • Status changed from assigned to accepted

comment:3 Changed 8 years ago by Martyn Gigg

Fix crash with Ctrl-x in Script interpreter Refs #6322

It was calling cut() recursively.

Changeset: f4ce8789d93a9681f4603d1754bfadae3e99fa48

comment:4 Changed 8 years ago by Martyn Gigg

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

Tester: A pretty simple one. Open up MantidPlot, click into the Script Interpreter console (press F4 to see it) and type ctrl-x. Mantid should not crash. Also, ensure that it actually works as expected by typing some strings and trying to cut various bits out with ctrl-x

comment:5 Changed 8 years ago by Martyn Gigg

Fix crash with Ctrl-x in Script interpreter Refs #6322

It was calling cut() recursively.

Changeset: 496f1c6ed29e79089acc9d33fc6d642b493a8941

comment:6 Changed 8 years ago by Karl Palmen

  • Status changed from verify to verifying
  • Tester set to Karl Palmen

comment:7 Changed 8 years ago by Karl Palmen

  • Status changed from verifying to closed

Works OK. I note that Ctrl will cancel any selection that extends outside the command line, but any selection entirely in the command line remains and can be removed by Ctrl-X.

comment:8 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 7168

Note: See TracTickets for help on using tickets.