qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.57k stars 3k forks source link

Project file recovery #24154

Open qgib opened 7 years ago

qgib commented 7 years ago

Author Name: James Harvey (James Harvey) Original Redmine Issue: 16244

Redmine category:project_loading/saving


Is there a way that a recovered project view could show after a application crash? It would behave in a similar way a program like Adobe InDesign that will show the work file again after a crash, but it would still have those changes that were worked on. It would use the temporary changes since the last save that was made by the user. Has there been a similar request made? I haven't found anything in a quick search.

qgib commented 7 years ago

Author Name: James Harvey (James Harvey)


I should also add that the project file name when opened after a crash should change to have "Recovered" added to it.

qgib commented 7 years ago

Author Name: Giovanni Manghi (@gioman)


qgib commented 7 years ago

Author Name: Regis Haubourg (@haubourg)


Hi, You already have a backup file (the file named ***.qgs~ next to your project)

In QGIS behavior, crashing does not necessarly breaks the project file, so we would need a conformity check of XML file on project loading raising a dialog to restore the project from the backup file.