Select "All Similar Elements in Range Selection" for Spacers fails

• Sep 20, 2019 - 12:03
Reported version
3.2
Type
Functional
Frequency
Once
Severity
S3 - Major
Reproducibility
Always
Status
active
Regression
No
Workaround
No
Project

OS: Windows 10 (10.0), Arch.: x86_64, MuseScore version (64-bit): 3.3.0.8331, revision: b45221c

1) Load this test file: spacers selection.mscz

2) Select the 2th and 3th systems (measures 5 to 12)

3) Right-click a spacer -> Select -> All Similar Elements in Range Selection

Expected result : these spacers become selected.
Current result: failure, nothing happens.


Comments

More to the point, there are certain element types that are not considered part of the range. These include spacers, breaks, jumps, markers, brackets, and perhaps more. Whether or not they should be is up for debate. I am inclined to think that this is not a bug.

I guess the idea is that only elements that were candidates for being copied as part of a range are considered part of the range for these purposes. Also, elements like breaks, repeat jumps/markers, and frames are not associated with any one particular staff, so it's not clear what "in Range Selection" it would mean if you tried this with only one staff selected. So I think for most of these elements, the current behavior makes as much sense as any other.

But I can see the validity of wanting spacers to be treated differently. Even though they are measure objects and aren't copied (hmm, could they be?), they are associated with a particular staff and hence seem legitimately part of the range. And, the use case I assume we are talking about here is one that comes up often - wanting an easy way to add extra space between all staves within a system on a given page, for cases where "hide empty staves" results in a system that doesn't fill the page well.

Of course, better still would be some clever scheme for automatically spacing the staves, but there are complications with that, and meanwhile making the spacer trick more efficient would be nice.