Exmaralda-Org / exmaralda

27 stars 15 forks source link

Check if editor can exit while writing a file to disk #456

Open berndmoos opened 8 months ago

berndmoos commented 8 months ago

I know this is taken care of in FOLKER. If it is not in the PE, it should be. It seems to be very rare, but this is a Zwergenstaat situation.

Herrner commented 8 months ago

██╗      ██████╗ ██╗     
██║     ██╔═══██╗██║     
██║     ██║   ██║██║     
██║     ██║   ██║██║     
███████╗╚██████╔╝███████╗
╚══════╝ ╚═════╝ ╚══════╝
berndmoos commented 7 months ago

Transferred the FOLKER solution (saving in a thread) to the Partitur-Editor. Hard to test because it rarely happens that saving takes more than a few milliseconds. This is only for "Save", no thread (yet) for "Save As..." which is carried out in a Swing thread, so it is blocking anyway?

berndmoos commented 6 months ago

Closing this because nobody is complaining

berndmoos commented 1 week ago

Somebody is complaining now, seems like in some circumstances, files are (still) written incompleteley.