> I didnt suggest an asynchronous saving. Just one where the main thread
can keeps responsive instead of freeze (and perhaps offer cancellation
of the saving if it takes too long).

Problem is that the default, and safest, saving method (using 
`g_file_set_contents()`) can't be made asynchronous or cancellable, glib just 
doesn't offer that.

> I agree that most, if not all, user interaction should be blocked during
save, but that doesn't mean the UI has to freeze up.

Blocking parts of the UI is possibly lots of work that "somebody" :tm: has to 
do.  Or we could just pop up a nice modal dialog that says "saving..." with a 
cancel button (for those save methods that are cancellable).

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/828#issuecomment-166772556

Reply via email to