SPCode icon indicating copy to clipboard operation
SPCode copied to clipboard

Serious File usage causes file content damage and loss

Open Boollan opened this issue 2 years ago • 7 comments

Reappearance problem: The SPCode editor content is lost or corrupted when the .SP file is compiled and saved in another editor

others editor is vscode ...

Boollan avatar Jan 14 '23 14:01 Boollan

Same issue here.

Rushaway avatar Jan 15 '23 07:01 Rushaway

Happens so often for me whenever I shut my pc down or when I close the program, after a while the editor file gets corrupted with some NULL characters, It's really annoying to have it as it was working fine in the past, I hope you find a solution for it!

Dolly132 avatar Jan 15 '23 07:01 Dolly132

Can you guys provide solid reproduction steps for me to diagnose the issue? That's what is asked in the issue template. I've tried some things based on what you've told me but I seem unable to spot a problem.

maxijabase avatar Feb 10 '23 14:02 maxijabase

Lets say we work on a shared project. A is using Vscode B is using SPCode

B start creating .sp file with code in it
B send the .sp file to A
A modified few things in the file and save it
A send the modified .sp to B
B open it, apply change on it and save it
B close SPCode
B open SPCode and open the .sp file
File is  now corrupted 

Rushaway avatar Feb 10 '23 15:02 Rushaway

@maxijabase Any updates ?

Rushaway avatar Feb 22 '23 18:02 Rushaway

Sorry, I've been very busy these days, I'll get to diagnose and fix this as soon as I can.

maxijabase avatar Feb 23 '23 16:02 maxijabase

Sorry, after following the reproduction steps you described I'm still unable to see a problem. Could you record a video of what you're doing and send it over?

maxijabase avatar Feb 27 '23 03:02 maxijabase