Ticket #9814 (closed: fixed)

Opened 6 years ago

Last modified 5 years ago

Mantid Clears the Clipboard on Exit

Reported by: Peter Parker Owned by: Nick Draper
Priority: minor Milestone: Release 3.3
Component: GUI Keywords:
Cc: Blocked By:
Blocking: Tester: Harry Jeffery

Description

A pet peeve of mine for a while, that I've only just gotten round to reporting. To reproduce:

  • Open up Mantid.
  • Copy some text from somewhere. This can be from inside Mantid, or from another program entirely.
  • Close Mantid.
  • You will not be able to paste what you've just copied. It's gone.

Change History

comment:1 Changed 6 years ago by John Hill

  • Milestone changed from Backlog to Release 3.3

Just come across this too; pretty annoying.

https://github.com/mantidproject/mantid/blob/master/Code/Mantid/MantidPlot/src/ApplicationWindow.cpp#L16452

Mantid appears to be abusing the clipboard to pass data around in some places. This should probably be changed and presumably this is a hacky cleanup.

comment:2 Changed 6 years ago by Nick Draper

  • Status changed from new to assigned
  • Owner set to Nick Draper

comment:3 Changed 6 years ago by Nick Draper

  • Status changed from assigned to inprogress

re #9814 Removed clear command in appwindow destructor

Changeset: 90f079833946cebe5ceed3f337fb10426961f737

comment:4 Changed 6 years ago by Nick Draper

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

Had a black box look around for inappropriate use of the clipboard, but did not find any.

To Test

  1. Start up Mantid
  2. do something and copy some text/ values from mantid
  3. Paste these to a text editor to check you really copied them
  4. Close Mantidplot
  5. Paste them again to test that they are still available.

comment:5 Changed 6 years ago by Harry Jeffery

  • Status changed from verify to verifying
  • Tester set to Harry Jeffery

comment:6 Changed 6 years ago by Harry Jeffery

  • Status changed from verifying to closed

Merge remote-tracking branch 'origin/feature/9814_dont_clear_clipboard_on_exit'

Full changeset: 0b966e4873feb23d7bc00d5953d8936e5684cbc2

comment:7 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 10656

Note: See TracTickets for help on using tickets.