Ticket #8558 (closed: fixed)

Opened 7 years ago

Last modified 5 years ago

Workspace Selector does not process Replaced Workspaces

Reported by: Gesner Passos Owned by: Gesner Passos
Priority: major Milestone: Release 3.1
Component: GUI Keywords:
Cc: martyn.gigg@…, taylorrj@… Blocked By:
Blocking: Tester: Russell Taylor

Description

Open any workspace selector in mantif, for example:

  • Interfaces->SANS->SANS ISIS (click on Time slicing) (to do this you have to wait to #8545)

This workspace selector should filter only EventWorkspaces. This is promised by using the WorkspaceTypes property to EventWorkspace.

  • Execute the follow statement:
ws = LoadEventNexus('22048')
ws1 = ws.clone()
this_does_not_show = LoadNexus('22048')
ws = Rebin(ws,'10,200,1000',False)

At the end, ws which is now a histogram workspace is still listed inside the workspace selector.

The problem is that workspace selector does not subscribe to replacement events.

Change History

comment:1 Changed 7 years ago by Gesner Passos

  • Cc taylorrj@… added

There is no way to show this error in the current state of mantid, because, it is not used like this in any other place, except StepScan.ui where they subscribe to the replace themselves to correct the wrong behaviour of WorkspaceSelector.

Hence, fixing this issue may interfere with StepScan. For this reason, I'm adding Russel to this ticket. He might want to test it.

comment:2 Changed 7 years ago by Gesner Passos

  • Status changed from new to inprogress

comment:3 Changed 7 years ago by Gesner Passos

Refs #8558 Handle Replacement event in Workspace Selector

Changeset: abd1e40238c1894142a3c52a024d67d69c1fd361

comment:4 Changed 7 years ago by Gesner Passos

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

comment:5 Changed 7 years ago by Russell Taylor

  • Status changed from verify to verifying
  • Tester set to Russell Taylor

comment:6 Changed 7 years ago by Russell Taylor

  • Status changed from verifying to closed

Merge remote branch 'origin/bugfix/8558_workspace_selector'

Full changeset: d7eb39aa4c587d8f9b11322f6cc25da5a6406934

comment:7 Changed 7 years ago by Russell Taylor

This causes no problems to the StepScan GUI (where the replace event handler mainly does stuff beyond the WorkspaceSelector).

comment:8 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 9402

Note: See TracTickets for help on using tickets.