GNOME Bugzilla – Bug 326224
Can't type while saving
Last modified: 2014-08-12 20:42:10 UTC
When editing a file via a gnome-vfs SCP connection (I love that I can do this now), saving takes a few seconds. During this time, I can highlight text, but I can't change the text of the document. This is annoying, because I have a habit of repeatedly pressing Ctrl-S while I work.
This is the expected behavior. It is a bit unfortunate but supporting editing while saving greatly complicates the code (expecially in the case an error occurs while saving). I think we can live with this limitation for 2.14. We will try to find a possible solution in the future.
I'm not familiar with this code yet, but... Could we not take a copy of the content of the editor, and then proceed to save it on a background-thread? We could either choose to ignore subsequent Saves whilst this is happening, or use a first-in-first-out queue to line up the save requests? If there was a problem saving we can use the error panel to show the problem and if you need the state, we could offer a button which allows users to revert to the state of the document before the save? (I don't know if this is necessary, but it is an option)
Bug #722512 is more precise. *** This bug has been marked as a duplicate of bug 722512 ***