score icon indicating copy to clipboard operation
score copied to clipboard

"Open in default editor" disconect all inlets/outlets and potentially overwrite the script

Open edumeneses opened this issue 1 month ago • 2 comments

Description: Setting a default editor in score and opening a script in such an editor results in all inputs/outputs (cords and coded) for that particular script to be disconnected. Additionally, trying to open a second script without closing the first results in overwriting the first script with the second (both scripts open as temporary files with the same name).

Expected behavior: the inputs/outputs should remain as is, even if opening the script in an external editor. Also (more of a feature request), I would expect to be able to open multiple scripts without overwriting.

Details: Tested on Ubuntu 24.04 using AppImage (x86_64) for score (v 3.7.1) and snap for VSCode (external editor). The external editor is in its default location (/snap/bin/code).

edumeneses avatar Nov 16 '25 19:11 edumeneses

I'm trying but I can't reproduce this one :(

https://github.com/user-attachments/assets/49979f45-d7ab-452f-ada8-5ad018219a90

Do you have an example score which causes the issue?

jcelerier avatar Nov 18 '25 05:11 jcelerier

This error happens only when using external editors (sorry I was not clear on this one)

https://github.com/user-attachments/assets/9295e830-70af-49d3-851a-b622c7f4cad3

edumeneses avatar Nov 18 '25 15:11 edumeneses