Dragging breaks & spacers in an empty space in a score with hidden empty staves causes a crash

• Aug 30, 2015 - 07:56
Type
Functional
Severity
S2 - Critical
Status
closed
Project

MuseScore 2.0.2 / Windows 7

1) Create a score for two instruments (eg 2 flutes),
or open this file (piano + acoustic bass): score piano-bass.mscz

2) Style ->General

3) Tick "Hide Empty Staves"

4) Untick "Don't hide empty staves in the first system" -> Ok

First result: you receive as expected a blank page

5) From the Breaks & Spacers palette, drag anywhere (and drop, not necessary) a break page on this page.

Result: crash


Comments

A variation (without the step #4)

1) Open the previous attached file
2) Style -> General
3) Tick "Hide Empty Staves" -> Ok
4) Drag a break page under the remaining first system (ie in a "virtual" or hidden second system)

EDIT: It is possible in this case that you had to go to the end of the staff (under the remaining first system always) and then retrace your steps a little lower to get the crash.

Result: crash

You got the same result with this "original" file (I only added 10 measures) : Silent Night more 10 measures.mscz by dragging a break page at the bottom of the page.
See this thread: https://musescore.org/en/node/75076

Title Add a break page by dragging it in a empty space in a score with hidden empty staves causes a crash Add a break page by dragging it in an empty space in a score with hidden empty staves causes a crash

After investigation, this issue occurs August 14, 2014.

- This Nightly on August 13 works: 8dedc28

- The next day, this one fails: 3d19d74

There are about fifteen commits that day.

But the only one, for now, where "hideEmptyStaves" is mentioned (in libmscore/staff.h) is this one: https://github.com/musescore/MuseScore/commit/c78951ba3c57cc6ad172913e2…

And less likely (?) also the following related commit: https://github.com/musescore/MuseScore/commit/3a43976877299ca9508f4e9f4…

Title Add a break page by dragging it in an empty space in a score with hidden empty staves causes a crash Dragging breaks & spacers in an empty space in a score with hidden empty staves causes a crash

Title change: same issue for all symbols of the Breaks & Spacers palette.