Note Input State bugs/Issues
I am using Windows 10 (Musescore 3.6.2 and the latest nightly build) and have found the following bugs in interactions with plugins and the UI Note Input state:
1) Running the "Hello World" plugin (installed with Musescore) from Plugin Creator will cause Musescore to crash (evaporate) if the user interface is in Note Input state . In fact, running any plugin from the Plugin Creator will cause Musescore to crash (evaporate) if the UI is in a Note Input state. There is normally a few/several seconds delay after executing the plugin before Musescore crashes.
But if you are quick at clicking on the main musescore UI you can prevent the crash.
2) If a plugin that contains the executable line (and the UI is not currently in a Note Input state):
cmd("note-input") //This should put the UI in a Note Input state
it will cause Musescore to crash (evaporate). The crash occurs whether the plugin is run form the Plugin Creator or from the UI. There is normally a few/several seconds delay after executing the plugin before Musescore crashes.
However if you duplicate the note input command, i.e. have code like:
cmd("note-input")
cmd("note-input")
Everything works OK (except you don't get to put the UI in a Note Input state!). Presumably the second instance of the command takes Musescore out of an unstable state before it can crash.
3) If Musescore is put in a Note Input state, and you open (or have open) the Plugin Creator and have a plugin displayed and you click on the text editor part of the Plugin Creator and then click on the main UI it will cause Musescore to crash.
Comments
At the start of original posting to this topic I said: ...
"1) Running the "Hello World" plugin (installed with Musescore) from Plugin Creator".
The closest plugin installed with Musescore is actually helloqml.qml, and while this will similarly cause Musescore to crash, I was actually referring to the default "Hello World" plugin that is generated using the "Create New" button at the top of the Plugin Creator.
In reply to At the start of original… by barryw12
I can confirm the crash. Please enter this into the issue tracker
It is not a new bug though, happens too with 3.3.4 (the Microsoft Store version) and also with 2.3.2
In reply to I can confirm the crash… by Jojo-Schmitz
I have created an entry in the Issue Tracker - https://musescore.org/en/node/322601
In reply to I have created an entry in… by barryw12
Thanks for #322601: Note Input State Interactions with Plugins/Plugin Creator that crash Musescore
In reply to I can confirm the crash… by Jojo-Schmitz
a