proxyman-windows-linux icon indicating copy to clipboard operation
proxyman-windows-linux copied to clipboard

Two open scripts will overwrite eachother after any edit/save

Open addison-adler opened this issue 10 months ago β€’ 1 comments

Description

~~While editing scripts, re-ordering can result in effectively erasing script contents~~

Edit: Actually, it seems like making any change to a script while another script is open results in the contents being saved to all open scripts.. πŸ’€

Steps to Reproduce

  1. Open 2 scripts
  2. Edit contents of a script
  3. other script will be overwritten

~~1. Create two scripts: Script A and Script B 2. Add some unique text or code to each script (e.g. "This is A" and "This is B", or actual code, doesn't matter) 3. Do not close the script editor panels 4. Open Scripts panel and re-order Script A and Script B 6. Observe that the contents of the open script editors are currently correct 7. Edit and save one of the scripts (e.g. Script B) 9. Now go to the other script's tab (e.g. Script A) and observe that its contents have been overwritten 10. cry that your script has been completely erased~~

https://github.com/user-attachments/assets/fde959e8-d4a9-455a-a286-177f11f1fd7d

Current Behavior

re-ordered script is eradicated

Expected Behavior

please don't destroy our scripts πŸ™

Environment

  • App version: 2.20.0
  • Windows/Linux version: Windows 11 Homeβ€”10.0.26100 Build 26100

addison-adler avatar Feb 14 '25 12:02 addison-adler

@addison-adler Thank you for reporting this issue, I can reproduce and will fix it in this week

kics223w1 avatar Feb 14 '25 13:02 kics223w1