files_texteditor icon indicating copy to clipboard operation
files_texteditor copied to clipboard

Prevent closing browser tab while saving

Open PVince81 opened this issue 9 years ago • 3 comments

  1. Open text editor
  2. Type in some text
  3. Hit save
  4. While saving, close the browser window

Expected: a popup appears (beforeunload style) Actual: browser gets closed, sometimes file not saved

PVince81 avatar Jun 01 '16 10:06 PVince81

@PVince81 I do not see any "save" button - was there one in the past? It seems to now just auto-save "all the time". If I make edits and do not like them, there is no chance to cancel - "the system" seems to have already saved my mistakes.

Somewhat related, I raised #205 - the close button can be pressed too quickly and recent edits are lost.

phil-davis avatar Aug 31 '17 16:08 phil-davis

@phil-davis the save button existed in ancient times and has been designed away, you might find it with a bit of git or github archeology.

cc @tomneedham

PVince81 avatar Aug 31 '17 17:08 PVince81

So this can be closed? Because if there is no save button, then it can't be broken.

phil-davis avatar Sep 01 '17 00:09 phil-davis