musescore / musescore/MuseScore
Vertical order of stacked elements is reversed after undoing a move or delete
Open
@DmitryArefiev is already working on this.
Since Mar 6, 2026.
P2
UX/interaction
- Dominant language
- C++
- Stars
- 15.1k
- Forks
- 3.3k
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 91
Description
Issue type
UX/Interaction bug (incorrect behaviour)
Description with steps to reproduce
- Add 2 or more text elements to the same beat (easiest to see what happens if you add 4 elements and number them)
- Either:
- Click and drag the measure they belong to to move them somewhere else, or
- Select the measure and delete its contents
- Undo
- See that the text elements have swapped positions in the stacking order above the staff
Similar to https://github.com/musescore/MuseScore/issues/29768
Supporting files, videos and screenshots
https://github.com/user-attachments/assets/4d4cf4d7-a0a5-427d-9f09-c6df952df959
In which versions of MuseScore Studio is this issue present?
All since we added click + drag to move
Regression
No.
Operating system
macOS 15
Additional context
No response
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.