Ticket #9814 (closed: fixed)
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: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
- Start up Mantid
- do something and copy some text/ values from mantid
- Paste these to a text editor to check you really copied them
- Close Mantidplot
- 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
Note: See
TracTickets for help on using
tickets.
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.