Ticket #10121 (closed: invalid)

Opened 6 years ago

Last modified 5 years ago

You can't cancel quitting Mantid

Reported by: Harry Jeffery Owned by: Harry Jeffery
Priority: minor Milestone: Release 3.3
Component: GUI Keywords:
Cc: Blocked By: #9970
Blocking: Tester: Dan Nixon

Description

In most applications, if you hit exit and haven't saved, you get a prompt asking you to optionally save your changes. You can cancel the dialogue which will stop the application from exiting. This is very useful if you only hit exit by mistake and don't want to exit the application.

Mantid does not give you this choice. Once you've indicated whether or not to save your project Mantid always exits.

Change History

comment:1 Changed 6 years ago by Harry Jeffery

  • Owner set to Harry Jeffery
  • Status changed from new to assigned

comment:2 Changed 6 years ago by Harry Jeffery

  • Blocked By 9970 added

comment:3 Changed 6 years ago by Harry Jeffery

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

As a result of #9970, you are prompted when you have unsaved changes and you try to quit.

Testing

  • Open MantidPlot
  • Do something, like open a workspace, create a table, create a note, etc.
  • Try to close mantid
  • You should be asked if you want to save changes to project
    • Hit cancel
  • Mantid should not close

comment:4 Changed 6 years ago by Harry Jeffery

  • Status changed from verify to reopened
  • Resolution fixed deleted

comment:5 Changed 6 years ago by Harry Jeffery

  • Status changed from reopened to verify
  • Resolution set to invalid

comment:6 Changed 6 years ago by Dan Nixon

  • Status changed from verify to verifying
  • Tester set to Dan Nixon

comment:7 Changed 6 years ago by Dan Nixon

  • Status changed from verifying to closed

Works fine, however I think the concept of what "unsaved changes" are needs to be revised as I am not prompted to save anything if I load a workspace and run several algorithms on it, but I am if I load a workspace and open the data view.

Last edited 6 years ago by Dan Nixon (previous) (diff)

comment:8 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 10963

Note: See TracTickets for help on using tickets.