Ticket #7997 (closed: fixed)
SpectrumViewer doesn't close with workspace deletion
Reported by: | Peter Peterson | Owned by: | Peter Peterson |
---|---|---|---|
Priority: | major | Milestone: | Release 3.0 |
Component: | GUI | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Arturs Bekasovs |
Description (last modified by Peter Peterson) (diff)
This is likely just a small problem of registering the view to listen to the workspace closing. As a side effect the viewer should close when mantid does as well.
Change History
comment:2 Changed 7 years ago by Peter Peterson
- Status changed from new to inprogress
Re #7997. Adding method to see if the workspace is displayed.
Changeset: d11c41b5cb7bcebe89a156b085cf7b5edeffca3f
comment:3 Changed 7 years ago by Peter Peterson
Re #7997. Connecting SpectrumView to signals in MantidUI.
Changeset: 25bb2c4cde45ead3c578f5e03973d9b2a676ded6
comment:4 Changed 7 years ago by Peter Peterson
- Status changed from inprogress to verify
- Resolution set to fixed
This is on bugfix/7997_close_spectrum_view
To test:
- Create an event workspace (histogram will work too)
- Right-click on it and "Spectrum View"
- Delete the workspace and see that the view closes
- Right-click on the workspace and "Spectrum View" again
- Close mantid and the view closes
comment:5 Changed 7 years ago by Arturs Bekasovs
- Status changed from verify to verifying
- Tester set to Arturs Bekasovs
comment:6 Changed 7 years ago by Arturs Bekasovs
Can reproduce the problem on the current master - window is not closed when workspace gets deleted or the MantidPlot is closed.
Note: See
TracTickets for help on using
tickets.