Open sammik opened 1 year ago
@oktophonie @bkunda
When inserting measures, most users seem to expect the results to be different depending on whether you insert after the bar A or before bar B. See for example https://github.com/musescore/MuseScore/issues/18149
Issue type
Engraving bug
Bug description
Lets start with score where in measure B is:
Measure A is measure before B
After measure operations (removing, adding), all elements should behave same. But whats the actual status?
1) Insert measure between A and B
2) Remove measure A (measure before changes)
3) Remove measure B (measure with changes)
4) Instrument Change
Now imagine, user adds Instrument change to score. All elements mentioned above (key, clef, time and staff type) are parts of Instrument change, so all of them should be preserved and palced in same point, as instrument change itself is.
So, if "move clef keys on insertion" (1) is intended behaviour, we need one of the following: 1) move also instrument change backward 2) or don't move elements, if the are "forInstrumentChange"
5) First measure
a) Remove elements
If we add all elements mentioned above to the (begining of) first measure, and trying to remove them
https://github.com/musescore/MuseScore/assets/1646034/fbf9c17a-6378-46f6-a8ad-3b888a714ddc
b) Remove first measure
If if dont remove elements one by one, but remove first measure itself
https://github.com/musescore/MuseScore/assets/1646034/0ee22698-bf70-4bc1-b26f-0978bc341150
MuseScore Version
master
Regression
I don't know
Operating system
Ubuntu 22.04
Additional context
No response