Project

General

Profile

Feature #473

Editor: Handle document closing

Added by Marc Zinnschlag over 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Editor
Target version:
Start date:
11/25/2012
% Done:

100%

Spent time:
Severity:
Normal

Description

When the user is trying to close the last view of a document, do the following:

- If the document is not saved, warn the user and give him an option to save.
- If there are still operations running on this document, warn the user and give him the option to either wait or abort the operations (plus canceling closing the document).

Note: Operations (including save) are potentially asynchronous. You can not expect them to finish after returning from the respective function (e.g. save) nor can you expect them to abort immediately on calling abort. Instead you should wait for the state change, which is broadcasted through the updateDocumentState function of the View class.

History

#1 Updated by Marc Zinnschlag about 4 years ago

  • Target version changed from openmw-0.21 to openmw-0.22

#2 Updated by Joel Graff almost 4 years ago

  • Status changed from New to In Progress
  • Assignee set to Joel Graff

#3 Updated by Joel Graff almost 4 years ago

  • % Done changed from 0 to 80
  • Estimated time set to 3.00 h

#4 Updated by Marc Zinnschlag almost 4 years ago

  • Target version changed from openmw-0.22 to openmw-0.23

#5 Updated by Marc Zinnschlag almost 4 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 80 to 100

Also available in: Atom PDF