Spade-Editor / Spade

Cross-platform raster graphics editor inspired by Paint.NET
GNU General Public License v3.0
41 stars 10 forks source link

Fail cleanly #91

Open HeroesGrave opened 9 years ago

HeroesGrave commented 9 years ago

There are several things that can cause the application to crash or become unresponsive (due to the Swing event thread crashing)

Where we can, we should try to avoid letting this happen, but where we can't, we need to provide a way for the user to optionally save their work.

The simplest way to do this is to save the working image to a new file (eg "~" or ".tmp"), so the user can choose which one they want to keep.

Additionally, we should save the stack traces somewhere to help with troubleshooting.