[Github-comments] [geany] Geany Freezes when unable to safe an edited file to it's FTP dir, no timeout on atempt saving file (#828)

elextr notifications at xxxxx
Wed Dec 23 01:14:37 UTC 2015


> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20151222/b107b876/attachment.html>


More information about the Github-comments mailing list