code icon indicating copy to clipboard operation
code copied to clipboard

Data loss possible with autosave (Flatpak version)

Open jeremypw opened this issue 3 years ago • 2 comments

What Happened?

Using the Flatpak version of Code, after some substantial editing it was noticed that that git gui indicated the entire contents of the file had been deleted even though Code displayed the text of the file. Fortunately manually saving the file restored the saved file to match the contents of Code.

Steps to Reproduce

Unsure how to reproduce other than to keep editing a file with autosave on while monitoring the contents of the saved file.

Expected Behavior

The saved file should always match the contents of Code of never lose data.

OS Version

7.x (Early Access)

Software Version

Compiled from git

Log Output

No response

Hardware Info

No response

jeremypw avatar Sep 04 '22 12:09 jeremypw

Can you send a log?

ghost avatar May 03 '23 20:05 ghost

I've been using the native version of Code since filing this issue. However, this is something that needs to be fixed before the Flatpak version becomes default (not sure what the timeline is for that)

jeremypw avatar May 05 '23 09:05 jeremypw