Ticket #10887 (closed: fixed)

Opened 6 years ago

Last modified 5 years ago

Crash when clicking on stale reference in project explorer

Reported by: Martyn Gigg Owned by: Martyn Gigg
Priority: blocker Milestone: Release 3.3
Component: GUI Keywords:
Cc: Blocked By:
Blocking: Tester: Ross Whitfield

Description (last modified by Martyn Gigg) (diff)

To reproduce:

  • start MantidPlot and load a workspace;
  • click "View->Project Explorer";
  • double click on the workspace to show the matrix;
  • close the matrix. The entry in the project should have disappeared;
  • now plot a spectrum from the workspace and an entry is created in the project explorer
  • close the plot
  • click on the reference to the plot and MantidPlot will crash.

The real problem is that the entry in the project explorer has not been removed.

Change History

comment:1 Changed 6 years ago by Martyn Gigg

  • Status changed from new to assigned

comment:2 Changed 6 years ago by Martyn Gigg

  • Status changed from assigned to inprogress

Remove duplicate call to ApplicationWindow::generateUniqueName

The call already happens as part of ApplicationWindow::prepareMultiLayer and running it again produces the wrong numbering in project explorer list. Refs #10887

Changeset: 79818e2665d603de0af47773e302027075de8d0d

comment:3 Changed 6 years ago by Martyn Gigg

  • Description modified (diff)

comment:4 Changed 6 years ago by Martyn Gigg

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

This is being verified as pull request #121.

comment:5 Changed 6 years ago by Ross Whitfield

  • Status changed from verify to verifying
  • Tester set to Ross Whitfield

comment:6 Changed 6 years ago by Ross Whitfield

  • Status changed from verifying to closed

Merge pull request #121 from mantidproject/bugfix/10887_project_explorer_stale_refs

Fix crash when clicking on deleted windows in the project explorer

Full changeset: 3d1e7e5c1f9f1d97bebeac5e19ba19c7d151542b

comment:7 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 11726

Note: See TracTickets for help on using tickets.