Parts Dialog Problem with Voices

• Jan 12, 2019 - 10:14
Reported version
P1 - High
Graphical (UI)
S4 - Minor

The parts dialog does not seem to remember user entries for selected voices when creating parts. Can be reproduced by the following steps:

Step 1: Open Test1.mscx. (It contains one instrument with one staff, which contains two voices.)
Step 2: Open Parts Dialog: "File -> Parts..."
Step 3: Click "new" to add a part
Step 4: Add Instrument "Piano" to "Part" and select voice 1. (Click on "Piano", click on +, expand "Piano" in field "Instruments in Part" and uncheck all voices but voice 1)
Step 5: Click "new" to add part. You should now have a "Part 1" and a "Part 2"
Step 6: Add Instrument "Piano" to "Part 2" and select voice 2. (Click on "Piano", click on +, expand "Piano" and uncheck all voices but voice 2)
Step 7: Select "Part 1" and check which voice to be used by expanding "Piano" in field "Instruments in Part"
Step 8: Select "Part 2" and check which voice to be used by expanding "Piano" in field "Instruments in Part". Suddenly voice 1 is selected in part 2, whereas you selected voice 2 in Step 6.

Expected behavior: The dialog should remember what voice settings the user makes when creating parts

Attachment Size
Test1.mscz 4.69 KB


Note that when the Parts are generated, voice 2 from the score will actually be placed in voice 1 in the part.
Still it would be most natural that the Parts dialog remembers the "origin" of the content in the Parts.

@neGjodsbol It seems you are correct, I tried creating some parts using an instrument with 4 parts. When I used "random" voices to create the parts, the parts window always reports using voices 1 then 2... regardless of which voices are used in creating the part.

Status PR created fixed

Fixed in branch 3.x, commit 9e2bc707af

_Fix #281666 - Parts Dialog Problem with Voices

Root case was loosing the first track of part after the form was built.
To keep track of tracks and mapping the internal structure is rewritten.

Manually rebased #6003 to 3.x_

Fix version