lunapaint / vscode-luna-paint

A raster image editor extension for VS Code
https://marketplace.visualstudio.com/items?itemName=Tyriar.luna-paint
282 stars 27 forks source link

History can be restored incorrectly for unmodified closed files #46

Closed Tyriar closed 3 years ago

Tyriar commented 3 years ago

One repro:

  1. Open a file
  2. Make an edit
  3. Undo it
  4. Close the file
  5. Reopen it, the history gets restored and redo doesn't work

This can probably happen on any file closed and opened again.

@lramos15 fyi I think this was the root cause of that double dispose log you mentioned yesterday. It's due to bad document caching on my end.