Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

recently typed text lost when closing editor #205

Open
phil-davis opened this issue Aug 31, 2017 · 3 comments
Open

recently typed text lost when closing editor #205

phil-davis opened this issue Aug 31, 2017 · 3 comments
Labels

Comments

@phil-davis
Copy link
Contributor

  1. open the text editor (new or existing file)
  2. type some stuff
  3. press the close button

Sometimes not all the typed text is saved.

This happens sometimes in automated UI tests, where the time between the input typing and pressing the close button is reasonably short. Typically the last couple of characters typed are not found in the file.

@phil-davis phil-davis added the bug label Aug 31, 2017
@phil-davis
Copy link
Contributor Author

Without having looked at the underlying code, I guess there is some Java Script / AJAX happening at intervals to save the file. And I guess the close button is not doing a final save, it just closes the text area box, throwing away any unsaved edits.

@phil-davis
Copy link
Contributor Author

During typing there is regular "Saving..." shown in the top bar of the text editor box (that is OK), but there is also lots of:

Cannot save file as it has been modified since opening

The file does get saved (maybe after the user has stopped typing for a second or so?), but this message does not inspire confidence.

@PVince81
Copy link
Contributor

PVince81 commented Nov 6, 2017

I saw this message too today while typing random text for testing. Mostly you need to type while it is already saving.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants