Skip to content

Two open scripts will overwrite eachother after any edit/save #475

@addison-adler

Description

@addison-adler

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

script.bug2.mp4

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working✅ DoneTicket is resolved

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions