Plugins can't set an element's voice or track

Aperta
#35,704 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

  • #35706 di @davidstephengrant — chiusa senza merge

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
52/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
cpp
Ambito
desktop, devtools

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

extensions needs review P2
Issue type

Other type of issue

Description with steps to reproduce
  1. Install the attached plugin and enable it in Home > Plugins.
  2. Open a score, add staff text to a note in voice 1, and select the staff text.
  3. 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
Lingua principale
C++
Stelle
15.5k
Fork
3.4k
Merge medio
2g 18h
PR unite (30g)
114

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di musescore/MuseScore

Tutte le issue di musescore/MuseScore

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.