Plugins can't set an element's voice or track
Maintainers usually reply within 1 day
Nobody has claimed this yet.
- #35706 by @davidstephengrant — closed without merging
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 52/100
Research direction
Start by inspecting the attached plugin reproduction and tracing how plugin assignments to an element’s voice, track, bracketColumn, and spannerTrack2 are handled. Reproduce the voice change in MuseScore Studio 4.7.7 or nightly main and follow the relevant plugin property setters; done when the staff text moves to voice 2 and the other reported properties can be set as expected.
Written by the indexing model from the issue text.
Description
Issue type
Other type of issue
Description with steps to reproduce
- Install the attached plugin and enable it in Home > Plugins.
- Open a score, add staff text to a note in voice 1, and select the staff text.
- Run Plugins > Composing/arranging tools > Set voice 2 (repro).
Result: the staff text stays in voice 1. The plugin's log shows voice after: 1.
Expected: the staff text moves to voice 2.
Supporting files, videos and screenshots
https://github.com/user-attachments/assets/7a44fd80-5d25-4c3d-9a1b-7314ba12f97a
In which versions of MuseScore Studio is this issue present?
Reproduced in 4.7.7 and nightly main
Regression
No.
Operating system
macOS 27.2.1
Additional context
The same happens when a plugin sets an element's track, bracketColumn or (for slurs) spannerTrack2.
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
- Dominant language
- C++
- Stars
- 15.5k
- Forks
- 3.5k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 124
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing 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.
More from musescore/MuseScore
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Edit string data dialog opens empty, with no strings and 0 frets, from "Instrument/Staff properties"Possibly taken @igorkorsukov claimed this 3 days ago. OpenP2 regression nightly UX/interaction
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
musescore/MuseScore#35829 · 1 assignee ·
Maintainers usually reply within 1 day
-
MusicXML export: overlapping dashed text lines (<dashes>) are all exported with duplicate number="1"Opencommunity MusicXML
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
MusicXML import loses explicit slur direction when the stop precedes the start in document orderOpenneeds review
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
needs review
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
All issues in musescore/MuseScore
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 75/100
Maintainers usually reply within 2 days
-
bug low priority
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
eclipse-score/logging#531 ·
Maintainers usually reply within 2 days
-
scope:docs status:needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
PX4/PX4-Autopilot#30166 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
Maintainers usually reply within 1 day