Ticket #7575 (closed: fixed)

Opened 7 years ago

Last modified 5 years ago

Python Script console can delete uneditable lines

Reported by: Samuel Jackson Owned by: Samuel Jackson
Priority: minor Milestone: Release 3.0
Component: GUI Keywords:
Cc: Blocked By:
Blocking: Tester: Jay Rainey

Description

When running the python script console, positioning the cursor on an uneditable line a pressing the delete key causes content to be removed.

This is most likely a side effect of the bug fixed in #1839

Change History

comment:1 Changed 7 years ago by Samuel Jackson

  • Owner set to Samuel Jackson

comment:2 Changed 7 years ago by Samuel Jackson

  • Status changed from new to inprogress

Added line number checking to backspace and delete keys.

Refs #7575

Changeset: eb38e3a6d7746f5796d4c9e2d9c981ecf9e199da

comment:3 Changed 7 years ago by Samuel Jackson

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

To Test:

First try that you can reproduce on a version of mantid without the fix. Then get the updated copy and try using both the delete and backspace keys on lines in the python console that should be uneditable. Also check that the delete and backspace keys still work on as normal on the last line of the console. This should include highlighting and pressing backspace/delete.

comment:4 Changed 7 years ago by Russell Taylor

  • Milestone changed from Backlog to Release 3.0

comment:5 Changed 7 years ago by Jay Rainey

  • Status changed from verify to verifying
  • Tester set to Jay Rainey

comment:6 Changed 7 years ago by Jay Rainey

  • Status changed from verifying to closed

Merge remote-tracking branch 'origin/bugfix/7575_python_console_delete_uneditable_content'

comment:7 Changed 7 years ago by Jay Rainey

Tested on: Ubuntu 12.04 (64-bit).

  • It's no longer possible to delete lines using backspace, delete button, or any means in the python console.
  • Delete and backspace works as expected on last line of console.

comment:8 Changed 7 years ago by Nick Draper

  • Component changed from Framework to User Interface

comment:9 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 8420

Note: See TracTickets for help on using tickets.