MuseScore is an open source and free music notation software. For support, contribution, bug reports, visit MuseScore.org. Fork and make pull requests!
Update: Also affects Clefs, Time sigs and Key sigs.
This bug seems to occur only on some objects of the panels Barlines, Repeats & Jumps and Layout.
When certain objects from the 3 panels are added then undo-ed, re-adding them will add one extra object to the next bar. See Steps to reproduce and Screen recording for more details.
Steps to reproduce
Select a bar (or a range of bars) on the staff.
Add any of the following objects below, by clicking them in their panels.
Repeats & Jumps Panel: Segno symbols, Coda symbols, Texts, Repeat signs.
Barlines Panel: Barlines.
Layout Panel: Stave spacers, Frames, Insert one bar before selection.
Press Ctrl+Z (or use other methods) to undo.
Repeat step 2.
One extra object is added to the next bar.
Expected behaviour: No extra objects should be added.
Yes, this used to work in MuseScore 3.x and now is broken
Operating system
Windows 10
Additional context
I noticed that after adding and undoing, the blue range selection box extends a little bit to the right and seems to enclose the barline on the right. Maybe this is the issue?
Issue type
Other type of issue
Bug description
Update: Also affects Clefs, Time sigs and Key sigs.
This bug seems to occur only on some objects of the panels Barlines, Repeats & Jumps and Layout.
When certain objects from the 3 panels are added then undo-ed, re-adding them will add one extra object to the next bar. See Steps to reproduce and Screen recording for more details.
Steps to reproduce
Expected behaviour: No extra objects should be added.
Screenshots/Screen recordings
https://github.com/musescore/MuseScore/assets/70313425/c1ed39bc-2ae0-40e4-9ddf-a96e43d90bae
https://github.com/musescore/MuseScore/assets/70313425/3e016377-01aa-4d40-87fc-07166424a24e
MuseScore Version
4.0.2
Regression
Yes, this used to work in MuseScore 3.x and now is broken
Operating system
Windows 10
Additional context
I noticed that after adding and undoing, the blue range selection box extends a little bit to the right and seems to enclose the barline on the right. Maybe this is the issue?
Normal selection:
After adding and undoing: