Dragging breaks & spacers in an empty space in a score with hidden empty staves causes a crash
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
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…
Or, this one (at the end of August 13) ? https://github.com/musescore/MuseScore/commit/6d46589c5624b4278e5ad80c1…
To fix: #29431: Dragging clef, bracket, or spacer to score should highlight only target staff, not full system
Don't know! :(
Title change: same issue for all symbols of the Breaks & Spacers palette.
Fixed in branch master, commit fa2e30d553
fix #75116: Add a break page by dragging it in an empty space in a score with hidden empty staves causes a crash
Fixed in branch 2.0.3, commit 8ffdc7959d
fix #75116: Add a break page by dragging it in an empty space in a score with hidden empty staves causes a crash
Automatically closed -- issue fixed for 2 weeks with no activity.