musescore / musescore/MuseScore

Recalculating ambitus pitches creates two undo actions

Open
#30,580 1 comment 0 reactions 1 assignee View on GitHub

@XiaoMigros is already working on this.

Since Oct 19, 2025.

P3 UX/interaction
Dominant language
C++
Stars
15.1k
Forks
3.3k
Avg merge
2d 2h
Merged PRs (30d)
91

Description

Issue type

Choose option...

Description with steps to reproduce
  1. Create score with ambitus
  2. Add a note that's higher than the ambitus top note, and a note that's lower than the bottom note
  3. Select the ambitus and click "Update to match the notes on the staff" -> the top and bottom note are updated
  4. Undo -> only the change of the bottom note is undone, and the top note requires another undo
Supporting files, videos and screenshots

https://github.com/user-attachments/assets/c2f124e0-8249-496c-a870-be429ad90500

In which versions of MuseScore Studio is this issue present?

4.0+

Regression

No.

Operating system

*

Additional context

In MS3, this action seems not undoable at all.

4.0-4.5 had https://github.com/musescore/MuseScore/issues/19890 in addition to this bug.

Checklist
  • This report follows the guidelines for reporting bugs and issues
  • I have verified that this issue has not been logged before, by searching the issue tracker for similar issues
  • I have attached all requested files and information to this report
  • I have attempted to identify the root problem as concisely as possible, and have used minimal reproducible examples where possible

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.