SmartPack / SmartPack-Kernel-Manager

Source code of SmartPack-Kernel Manager, the Ultimate Tool to Manage your Kernel
https://play.google.com/store/apps/details?id=com.smartpack.kernelmanager.pro
GNU General Public License v3.0
629 stars 73 forks source link

Other bug again, file saves as 0 bytes #154

Open pchris7489 opened 1 year ago

pchris7489 commented 1 year ago

Hello,

There is a serious bug in SP Kernel Manager, Sometime, when saving a script file, it will save as 0kb, destroying all the work done in the script image Thanks to all

sunilpaulmathew commented 1 year ago

@pchris7489 Thanks & can you tell me some details to reproducing this issue?

pchris7489 commented 1 year ago

Hello, when you save the same files multiple times :

  1. Create a new script with few lines and save it with SP
  2. Execute the script
  3. Press home button or back button
  4. Return to SP script editor, edit and save again the newly created script
  5. Do this cycle multiple times (step 2-5) as if you where develloping a script
  6. At some point or another (maybe 5 to 10 tries), SP will completely destroy the content of the script and save it as 0 bytes (even if the script have a lot of content)