Create new score from template ignores selection for number of bars
Submitted by Toby Smithe on August 9, 2009 - 10:15am.
| Project: | MuseScore |
| Component: | Code |
| Category: | bug report |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
In RC2,
click "Create a new score";
select "Create new score from template" and press "Next";
select any template and press "Next";
enter a number of bars different to that included in the template (eg, 3);
press "Finish".
Confirmed in r2006 (WinXP)
If the number of bars you specify is less than the number of bars in the original template file then it shows all the bars in the original template. If the number of bars you specify is more than or equal to the number of bars in the original template file then it works as expected.
In r. 2007 I changed all the bundled templates so that they only have one measure (with the exception of leadsheet.mscx).
Doesn't appear to be fixed.
click "Create a new score";
select "Create new score from template" and press "Next";
select leadsheet.mscx and press "Next";
enter a 5 for number of bars (different to that included in the template);
press "Finish".
Expected behavior: New score should have only five bars
Actual behavior: New score has 24 bars.
(tested using r. 4227 nightly build, Windows 7)