musescore / musescore/MuseScore

"Save selection" saves more than just selected range

Open
#23,436 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

community P3 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)

Bug description

"Save selection" command when a few measures in a particular staff for a particular instrument are selected saves notes from other staves in the same instrument

Steps to reproduce
  1. Create a new grand staff (piano) score
  2. Add notes to both staves
  3. Select 1 measure, just the top staff
  4. Use "save selection" command
  5. Open the file created by step 4.
  6. Expected: only 1 staff and notes that were in it. Actual: 2 staves with notes from the other unselected staff.
Screenshots/Screen recordings

No response

MuseScore Version

4.3.1

Regression

I don't know

Operating system

Windows 11

Additional context

Actually wanted "Export to selection", not sure if it's worth putting in a feature request for that.

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.

Research direction

Reproduce the issue in MuseScore 4.3.1 with a grand staff, then trace the "Save selection" command and its handling of selected staves and measures. Done means opening the saved file shows only the selected top staff and its notes, without content from the unselected staff.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.