musescore / musescore/MuseScore

Exchanging voices on partial measure selection affects the whole measure

Open
#24,533 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

community needs design 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

Selecting part of a measure and choosing Tools > Voices > Exchange voice 1-2, exchanges voices on the whole measure, and not just the portion selected. This can produce some unexpected results if the user is unaware of the behavior, as demonstrated in the screen recording.

To manually solve the issue, some strange workarounds are required for the user such as changing voice 2 to 3, then 1 to 2, and finally 3 to 1. Then you have to clean up the voice 3 rests.

Steps:

  1. See the attached screen recording
Supporting files, videos and screenshots

https://github.com/user-attachments/assets/e9d4c45e-7de0-459c-9963-e54c14fd4fd6

What is the latest version of MuseScore Studio where this issue is present?

4.4.1

Regression

No.

Operating system

macOS 12.7.2

Additional context

Same behavior in MS2 and MS3.

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.

Research direction

Reproduce the behavior in MuseScore Studio 4.4.1 using Tools > Voices > Exchange voice 1-2 with only part of a measure selected, then trace the selection handling for this command. Done means exchanging voices only in the selected portion rather than across the whole measure, while preserving expected behavior for a full-measure selection.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.