Changing instrument in parts for other clef or instrument category results in crash
Reported version
3.0
Priority
P0 - Critical
Type
Functional
Frequency
Once
Severity
S2 - Critical
Reproducibility
Always
Status
closed
Regression
No
Workaround
No
Project
OS: Windows 7 SP 1 (6.1), Arch.: x86_64, MuseScore version (64-bit): 3.1.0.5630, revision: 66dba74
Steps:
1) Treble clef template ( test file: Treble parts.mscz)
2) Create parts (new all -> Ok)
3) Toggle in Part
4) Right-click -> Staff Properties -> Instrument Change -> Violoncello (so, bass clef)
5) Ok -> Ok
---> Crash
Comments
There are several possible scenarios, but the whole thing is really incoherent.
And that's why I was talking about category too, for example (with the same test file)
Staff properties -> "Change Instrument":
However:
Also:
And many others unexpected/incoherent results.
In reply to There are several possible… by cadiz1
I can reproduce your crashes in MuseScoreNightly-2019-02-16-0933-master-27dc900-x86_64 but not in MuseScoreNightly-2019-02-15-1723-master-7678137-x86_64
But, although Nightly 2019-02-15-1723 does not crash, if you change Piano to Electric bass (mapped to Picked bass in the soundfont) in the stave properties in the part, the instrument names are changed, but when you leave the menu, the instrument and the instrument names revert to piano. I found the same erroneous behavior in stable version 3.0.1. This may be related to #281314: Cannot change instrument name or hide them in parts so I do not think that it is a new issue.
The new problem of crashing seems to have been introduced in the update from 15 to 16 February.
Up
It's caused by changing from an instrument with fewer channels to one with more. There is a deeper underlying issue though in that changes made to an instrument from the part view are not reflected in the main score. I couldn't quite figure out how to link the two together or why it works when changing from the main score but not from the parts.
In reply to It's caused by changing from… by Noah Whitehouse
Noah Whitehouse said "It's caused by changing from an instrument with fewer channels to one with more"
BUT
In the original report most of the reported crashes were changes were to single channel.
In my case all the crashes were from single channel to single channel
In reply to (No subject) by Marc Sabatella
Seems to have been fixed by the update to correct #284426: Instruments play as piano with odd side effects in nightly 2019-02-27-1555-master-d4b829c. The behavior is now back to V 3.0.1 - see #281314: Cannot change instrument name or hide them in parts
then let's mark it fixed
Automatically closed -- issue fixed for 2 weeks with no activity.