Switching directly from Rhythm Input to Note Input crashes MS 2.3.2
I've started using Rhythm Input and Re-Pitch since i've come back to MS, and i love it!
However, on occasion, MuseScore 2.3.2. will CTD when i go directly from either of these (after using them) to the standard Note Input. The only way to avoid it is to escape input and then go into Note Input. While i try to remember not to go directly, i often slip up coz i get fixated on entering the notes.
Switching out of Note Input to other entry methods, or any other direct switches do not cause the crash.
Fortunately, autosave helps MS recover most of the last session, but can we get this fixed for the next release?
Comments
Can you be precise on the steps to reproduce this so we can make 2.3.2 crash also? We can then see if we get the same results in the 3.0 being worked on. I tried Rhythm input then clicked on the icon to switch to step-time and did not get a crash.
In reply to Can you be precise on the… by mike320
Yes, it is random it seems. When i get home, i'll see if i can reproduce it. If i can't get it to crash on certain criteria, i'll upload the score it was happening on.
In reply to Can you be precise on the… by mike320
I think this problem has already been dealt with, see
https://musescore.org/en/node/275779
Related to #278339: Crash when adding note to piano roll before inputState is initialized?
In reply to Related to #278339: Crash… by mike320
I did the work on #278339. Issue is that the InputState from score->inputState() is initially has an invalid duration value of 0. This changes as soon as you click on a note or select a note duration from the toolbar. Not sure if related to your issue.
In reply to I did the work on #278339. … by blackears
I don't program so I raised the question since both have no note duration set. I didn't know if it would help or be a rabbit hole.