musescore / MuseScore

MuseScore is an open source and free music notation software. For support, contribution, bug reports, visit MuseScore.org. Fork and make pull requests!
https://musescore.org
Other
11.79k stars 2.56k forks source link

Undo deletion of grace notes does not restore their beam properties #23402

Open Riley-Sullivan opened 2 days ago

Riley-Sullivan commented 2 days ago

Issue type

Engraving bug (incorrect score rendering)

Bug description

When there are multiple beamed grace notes attached to a single note, there are cases where deleting one of them and then undoing the operation does not restore the beam properties to exactly how they were before deletion, and in fact leads to some very incorrect/impossible notation, especially with more complex combinations of grace notes of different durations. Also, an exported PDF will have the faulty layout. Not until you close and reopen the score do the grace note beams join correctly.

Steps to reproduce

See the attached screen recording for steps.

Screenshots/Screen recordings

https://github.com/musescore/MuseScore/assets/163907533/ffa02e06-c8cd-40bf-9e2f-574632ce342e

MuseScore Version

4.3.2

Regression

No.

Operating system

macOS 12.7.2

Additional context

The issue was present in the last release of MuseScore 3.6 as well, but not in the last release of MuseScore 2.